Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 181.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008703/0.0008702, allocations: 99.25 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002514, allocations: 7.938 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2179, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3302/0.5482, allocations: 119.4 MB / 0.5087 GB, free: 101.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5485, allocations: 103.3 kB / 0.5088 GB, free: 101.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2727/0.8212, allocations: 133.3 MB / 0.639 GB, free: 4.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8213, allocations: 0 / 0.639 GB, free: 4.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004009/0.8217, allocations: 131.8 kB / 0.6391 GB, free: 4.316 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01527/0.837, allocations: 5.29 MB / 0.6443 GB, free: 14.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.837, allocations: 12.03 kB / 0.6443 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.8426, allocations: 0.9809 MB / 0.6453 GB, free: 13.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.8548, allocations: 4.515 MB / 0.6497 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.8553, allocations: 365.7 kB / 0.65 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/0.8568, allocations: 479.9 kB / 0.6505 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.8711, allocations: 6.719 MB / 0.657 GB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.802e-05/0.8712, allocations: 11.95 kB / 0.657 GB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005082/0.8718, allocations: 204 kB / 0.6572 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002179/0.872, allocations: 233.8 kB / 0.6575 GB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2453/1.117, allocations: 5.579 MB / 0.6629 GB, free: 44.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03649/1.154, allocations: 20.98 MB / 0.6834 GB, free: 40.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008162/1.162, allocations: 9.944 MB / 0.6931 GB, free: 33.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/1.174, allocations: 5.484 MB / 0.6985 GB, free: 33.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/1.174, allocations: 56.16 kB / 0.6985 GB, free: 33.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 5.1e-06/1.174, allocations: 0 / 0.6985 GB, free: 33.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=234): time 0.01767/1.191, allocations: 9.922 MB / 0.7082 GB, free: 30.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/1.191, allocations: 77.69 kB / 0.7083 GB, free: 30.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/1.195, allocations: 2.639 MB / 0.7109 GB, free: 30.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.196, allocations: 63.55 kB / 0.7109 GB, free: 30.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.197, allocations: 2.15 MB / 0.713 GB, free: 29.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000557/1.197, allocations: 0.7804 MB / 0.7138 GB, free: 29.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.197, allocations: 53.06 kB / 0.7138 GB, free: 29.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/1.198, allocations: 409.6 kB / 0.7142 GB, free: 29.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/1.199, allocations: 1.311 MB / 0.7155 GB, free: 28.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/1.201, allocations: 1.874 MB / 0.7173 GB, free: 27.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/1.204, allocations: 1.6 MB / 0.7189 GB, free: 27.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.204, allocations: 3.906 kB / 0.7189 GB, free: 27.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006361/1.21, allocations: 4.243 MB / 0.723 GB, free: 25.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.21, allocations: 11.69 kB / 0.7231 GB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/1.21, allocations: 18.53 kB / 0.7231 GB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/1.212, allocations: 0.6463 MB / 0.7237 GB, free: 25.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/1.214, allocations: 0.5592 MB / 0.7243 GB, free: 25.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008366/1.222, allocations: 10.22 MB / 0.7342 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/1.225, allocations: 121.6 kB / 0.7343 GB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/1.225, allocations: 100.4 kB / 0.7344 GB, free: 17.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002691/1.228, allocations: 1.608 MB / 0.736 GB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/1.228, allocations: 317.1 kB / 0.7363 GB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/1.234, allocations: 3.998 MB / 0.7402 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/1.234, allocations: 29.06 kB / 0.7402 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.234, allocations: 14.81 kB / 0.7403 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.234, allocations: 10.73 kB / 0.7403 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.247, allocations: 8.708 MB / 0.7488 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.247, allocations: 0 / 0.7488 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.249, allocations: 362.2 kB / 0.7491 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/1.251, allocations: 0.8245 MB / 0.7499 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/1.251, allocations: 64.55 kB / 0.75 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/1.263, allocations: 14.68 MB / 0.7643 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.263, allocations: 3.938 kB / 0.7643 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00885/1.271, allocations: 6.009 MB / 0.7702 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.273, allocations: 0.7046 MB / 0.7709 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/1.274, allocations: 50.56 kB / 0.7709 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.275, allocations: 126 kB / 0.771 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/1.276, allocations: 190.3 kB / 0.7712 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.276, allocations: 65.19 kB / 0.7713 GB, free: 11.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00297/1.279, allocations: 2.034 MB / 0.7733 GB, free: 11.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.279, allocations: 0 / 0.7733 GB, free: 11.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003282/1.282, allocations: 0.9822 MB / 0.7742 GB, free: 11.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007417/1.283, allocations: 472.1 kB / 0.7747 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005714/1.289, allocations: 3.957 MB / 0.7786 GB, free: 9.188 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.289, allocations: 0 / 0.7786 GB, free: 9.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004059/1.293, allocations: 2.709 MB / 0.7812 GB, free: 7.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/1.297, allocations: 0.8616 MB / 0.782 GB, free: 7.531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/1.315, allocations: 11.25 MB / 0.793 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00346/1.319, allocations: 3.519 MB / 0.7965 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002835/1.321, allocations: 0.7467 MB / 0.7972 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006558/1.322, allocations: 194.8 kB / 0.7974 GB, free: 9.996 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/1.322, allocations: 0 / 0.7974 GB, free: 9.996 MB / 458.7 MB Notification: Performance of Templates: time 0.2687/1.591, allocations: 51.52 MB / 0.8477 GB, free: 80.8 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches