Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001545/0.001545, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2728, allocations: 50.55 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0154/0.2882, allocations: 14.05 MB / 423.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.2987, allocations: 5.199 MB / 428.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.3012, allocations: 83.69 kB / 428.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.3046, allocations: 1.119 MB / 429.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004367/0.309, allocations: 1.39 MB / 431.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.3117, allocations: 1.001 MB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005691/0.3174, allocations: 4.117 MB / 436.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.3212, allocations: 3.249 MB / 439.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.324, allocations: 1.947 MB / 441.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.327, allocations: 2.289 MB / 443.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.3277, allocations: 0.5078 MB / 444.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.3291, allocations: 0.7692 MB / 445 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000869/0.33, allocations: 1.145 MB / 446.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.332, allocations: 2.155 MB / 448.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.3381, allocations: 6.844 MB / 455.1 MB, free: 3.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3381, allocations: 0 / 455.1 MB, free: 3.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3381, allocations: 0 / 455.1 MB, free: 3.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001523/0.3383, allocations: 4 kB / 455.1 MB, free: 3.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01112/0.3494, allocations: 4.509 MB / 459.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3495, allocations: 12.03 kB / 459.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.3536, allocations: 0.8356 MB / 460.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/0.3574, allocations: 2.482 MB / 463 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.3576, allocations: 242.4 kB / 463.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/0.358, allocations: 319.9 kB / 463.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.3647, allocations: 4.292 MB / 467.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.275e-05/0.3648, allocations: 11.84 kB / 467.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002938/0.3651, allocations: 128 kB / 468 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.3652, allocations: 154.4 kB / 468.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005694/0.3709, allocations: 3.629 MB / 471.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.3897, allocations: 13.33 MB / 485.1 MB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006448/0.3961, allocations: 7.242 MB / 492.3 MB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/0.399, allocations: 1.628 MB / 493.9 MB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006397/0.4054, allocations: 4.315 MB / 498.3 MB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.4067, allocations: 0.865 MB / 499.1 MB, free: 5.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.765e-06/0.4067, allocations: 0 / 499.1 MB, free: 5.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01272/0.4194, allocations: 6.708 MB / 0.494 GB, free: 14.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.4195, allocations: 222.9 kB / 0.4942 GB, free: 14.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.4226, allocations: 1.932 MB / 0.4961 GB, free: 12.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.4227, allocations: 49.7 kB / 0.4961 GB, free: 12.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.4239, allocations: 1.506 MB / 0.4976 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/0.4242, allocations: 485 kB / 0.4981 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/0.4247, allocations: 307.3 kB / 0.4983 GB, free: 10.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.4248, allocations: 301.1 kB / 0.4986 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.4258, allocations: 0.6754 MB / 0.4993 GB, free: 9.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.4272, allocations: 1.225 MB / 0.5005 GB, free: 7.871 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.4297, allocations: 1.966 MB / 0.5024 GB, free: 5.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.4297, allocations: 8 kB / 0.5024 GB, free: 5.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003968/0.4337, allocations: 2.511 MB / 0.5049 GB, free: 3.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.4337, allocations: 15.94 kB / 0.5049 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.4337, allocations: 16 kB / 0.5049 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/0.4346, allocations: 335.3 kB / 0.5052 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.436, allocations: 371.4 kB / 0.5056 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006268/0.4422, allocations: 6.798 MB / 0.5122 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4439, allocations: 95.92 kB / 0.5123 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.444, allocations: 72 kB / 0.5124 GB, free: 11.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001776/0.4458, allocations: 1.036 MB / 0.5134 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/0.4462, allocations: 205.5 kB / 0.5136 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.4505, allocations: 2.352 MB / 0.5159 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4505, allocations: 16 kB / 0.5159 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.4505, allocations: 8 kB / 0.5159 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.4506, allocations: 7.969 kB / 0.5159 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/0.4595, allocations: 5.225 MB / 0.521 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.4596, allocations: 3.984 kB / 0.521 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.4604, allocations: 175.8 kB / 0.5212 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.4617, allocations: 0.5 MB / 0.5217 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.4619, allocations: 35.98 kB / 0.5217 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.4728, allocations: 11.58 MB / 0.533 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4728, allocations: 12.16 kB / 0.533 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/0.4784, allocations: 3.236 MB / 0.5362 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.4795, allocations: 434.5 kB / 0.5366 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/0.48, allocations: 35.98 kB / 0.5366 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.4812, allocations: 67.95 kB / 0.5367 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.4815, allocations: 97.17 kB / 0.5368 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.4817, allocations: 35.98 kB / 0.5368 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2373/0.7189, allocations: 1.33 MB / 0.5381 GB, free: 122.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.719, allocations: 0 / 0.5381 GB, free: 122.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003065/0.722, allocations: 0.5892 MB / 0.5387 GB, free: 122.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.7231, allocations: 484 kB / 0.5392 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.7265, allocations: 2.233 MB / 0.5413 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.7265, allocations: 0 / 0.5413 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.7285, allocations: 1.615 MB / 0.5429 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.7311, allocations: 0.5527 MB / 0.5435 GB, free: 120.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009872/0.741, allocations: 5.797 MB / 0.5491 GB, free: 118.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.7427, allocations: 2.363 MB / 0.5514 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001372/0.7441, allocations: 406 kB / 0.5518 GB, free: 117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.7444, allocations: 135.8 kB / 0.5519 GB, free: 116.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7444, allocations: 0 / 0.5519 GB, free: 116.9 MB / 462.1 MB Notification: Performance of Templates: time 0.0399/0.7844, allocations: 31.17 MB / 0.5824 GB, free: 89.68 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches