Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009308, allocations: 95.61 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 175.6 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 16 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.01387/0.1172, allocations: 12.57 MB / 341.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008678/0.1259, allocations: 4.632 MB / 346.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.1279, allocations: 67.69 kB / 346.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002878/0.1308, allocations: 0.9526 MB / 347.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.1348, allocations: 1.244 MB / 348.4 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.1375, allocations: 0.885 MB / 349.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00691/0.1445, allocations: 4.324 MB / 353.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003848/0.1483, allocations: 2.643 MB / 356.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.1506, allocations: 1.338 MB / 357.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.153, allocations: 1.754 MB / 359.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004523/0.1535, allocations: 208 kB / 359.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.1547, allocations: 459.7 kB / 360 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007237/0.1555, allocations: 0.7938 MB / 360.8 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.1574, allocations: 1.766 MB / 362.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00607/0.1635, allocations: 6.353 MB / 368.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1635, allocations: 0 / 368.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1635, allocations: 3.938 kB / 369 MB, free: 11.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.1637, allocations: 0 / 369 MB, free: 11.54 MB / 318.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.009938/0.1736, allocations: 3.794 MB / 372.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1737, allocations: 16.02 kB / 372.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.1785, allocations: 0.8241 MB / 373.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/0.183, allocations: 2.256 MB / 375.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.1833, allocations: 234.4 kB / 376.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006011/0.1839, allocations: 323.9 kB / 376.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1748/0.3586, allocations: 4.278 MB / 380.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.3588, allocations: 2.141 kB / 380.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/0.3592, allocations: 134.5 kB / 380.8 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.3593, allocations: 152.1 kB / 380.9 MB, free: 46.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/0.3669, allocations: 3.62 MB / 384.6 MB, free: 45.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/0.3872, allocations: 13.49 MB / 398.1 MB, free: 37.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005391/0.3926, allocations: 6.956 MB / 405 MB, free: 31.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.3945, allocations: 1.383 MB / 406.4 MB, free: 30.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005701/0.4002, allocations: 3.857 MB / 410.3 MB, free: 27.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.4013, allocations: 0.8569 MB / 411.1 MB, free: 27.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 2.925e-06/0.4013, allocations: 0 / 411.1 MB, free: 27.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=139): time 0.01055/0.4119, allocations: 6.521 MB / 417.6 MB, free: 22.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.412, allocations: 222.9 kB / 417.9 MB, free: 21.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.4142, allocations: 1.914 MB / 419.8 MB, free: 19.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/0.4143, allocations: 49.7 kB / 419.8 MB, free: 19.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/0.4152, allocations: 1.476 MB / 421.3 MB, free: 18.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.4155, allocations: 483.9 kB / 421.8 MB, free: 17.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.4156, allocations: 137.6 kB / 421.9 MB, free: 17.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.4157, allocations: 306.8 kB / 422.2 MB, free: 17.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008942/0.4166, allocations: 0.6664 MB / 422.9 MB, free: 16.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.4177, allocations: 1.218 MB / 424.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.4198, allocations: 1.944 MB / 426 MB, free: 13.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4198, allocations: 4 kB / 426 MB, free: 13.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003411/0.4232, allocations: 2.436 MB / 428.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4232, allocations: 8 kB / 428.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.4233, allocations: 16 kB / 428.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.4239, allocations: 291 kB / 428.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.4252, allocations: 383.4 kB / 429.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.4293, allocations: 5.856 MB / 435 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4308, allocations: 99.77 kB / 435.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4309, allocations: 79.98 kB / 435.2 MB, free: 3.664 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (196): * Single equations (assignments): 192 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001784/0.4327, allocations: 1.032 MB / 436.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.433, allocations: 197.6 kB / 436.4 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/0.4363, allocations: 2.261 MB / 438.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4363, allocations: 12 kB / 438.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.4364, allocations: 11.98 kB / 438.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4364, allocations: 3.984 kB / 438.7 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.4442, allocations: 5.11 MB / 443.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4443, allocations: 4 kB / 443.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007775/0.445, allocations: 171.8 kB / 444 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.4463, allocations: 472.7 kB / 444.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/0.4464, allocations: 43.92 kB / 444.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009666/0.4561, allocations: 10.19 MB / 454.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4561, allocations: 4.031 kB / 454.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/0.4611, allocations: 3.134 MB / 457.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.462, allocations: 434.8 kB / 458.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.4622, allocations: 39.94 kB / 458.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000853/0.4631, allocations: 67.94 kB / 458.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.4633, allocations: 105.1 kB / 458.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.4634, allocations: 40.03 kB / 458.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001849/0.4653, allocations: 1.315 MB / 459.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4653, allocations: 0 / 459.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001951/0.4672, allocations: 0.5807 MB / 460.4 MB, free: 9.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 95 * 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,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.001111/0.4684, allocations: 472.2 kB / 460.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003352/0.4717, allocations: 2.175 MB / 463 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4717, allocations: 0.5 kB / 463 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.474, allocations: 1.574 MB / 464.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/0.4769, allocations: 0.5174 MB / 465.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.4872, allocations: 7.361 MB / 472.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.4894, allocations: 2.348 MB / 474.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001539/0.4909, allocations: 409 kB / 475.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.4913, allocations: 135.4 kB / 475.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4913, allocations: 0 / 475.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of Templates: time 0.05097/0.5423, allocations: 28.57 MB / 0.4921 GB, free: 13.79 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Conveyor/AIMC_Conveyor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches