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.001168/0.001168, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001223/0.001223, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.347/1.347, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001169/0.001169, allocations: 47.92 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09784, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.2082/0.3061, allocations: 13.38 MB / 388.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009222/0.3153, allocations: 4.746 MB / 393.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.3187, allocations: 72.47 kB / 393.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003864/0.3226, allocations: 1.102 MB / 394.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005322/0.3279, allocations: 1.359 MB / 395.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.3306, allocations: 0.9786 MB / 396.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008754/0.3394, allocations: 4.065 MB / 400.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004274/0.3437, allocations: 3.203 MB / 404.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.3475, allocations: 1.917 MB / 406 MB, free: 12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.3516, allocations: 2.171 MB / 408.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00092/0.3525, allocations: 0.5087 MB / 408.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.3546, allocations: 0.7458 MB / 409.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.3557, allocations: 1.136 MB / 410.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.3582, allocations: 2.146 MB / 412.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007102/0.3653, allocations: 6.787 MB / 419.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3654, allocations: 0 / 419.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3654, allocations: 8 kB / 419.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.3655, allocations: 0 / 419.5 MB, free: 3.266 MB / 334.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.01099/0.3765, allocations: 4.48 MB / 424 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3766, allocations: 15.97 kB / 424 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/0.3808, allocations: 0.8201 MB / 424.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.3845, allocations: 2.326 MB / 427.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.3847, allocations: 238.4 kB / 427.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004942/0.3852, allocations: 319.9 kB / 427.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006939/0.3922, allocations: 4.28 MB / 432 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-05/0.3922, allocations: 4 kB / 432 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.3926, allocations: 132 kB / 432.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.3927, allocations: 158.4 kB / 432.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/0.3989, allocations: 3.621 MB / 435.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/0.4276, allocations: 13.25 MB / 449.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007668/0.4353, allocations: 6.964 MB / 456.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/0.438, allocations: 1.364 MB / 457.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009159/0.4471, allocations: 3.821 MB / 461.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.4491, allocations: 0.8571 MB / 462.1 MB, free: 7.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.428e-06/0.4491, allocations: 4 kB / 462.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01663/0.4658, allocations: 6.489 MB / 468.6 MB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4659, allocations: 222.9 kB / 468.8 MB, free: 100 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.4687, allocations: 1.91 MB / 470.7 MB, free: 14.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.4688, allocations: 53.7 kB / 470.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.4702, allocations: 1.466 MB / 472.3 MB, free: 12.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.4706, allocations: 493 kB / 472.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/0.471, allocations: 311.3 kB / 473 MB, free: 11.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4712, allocations: 305.1 kB / 473.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.4722, allocations: 0.6559 MB / 474 MB, free: 10.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.4737, allocations: 1.218 MB / 475.2 MB, free: 9.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.4764, allocations: 1.94 MB / 477.2 MB, free: 7.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.4764, allocations: 4 kB / 477.2 MB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004121/0.4806, allocations: 2.428 MB / 479.6 MB, free: 4.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4806, allocations: 8 kB / 479.6 MB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.4806, allocations: 16 kB / 479.6 MB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007609/0.4814, allocations: 283.5 kB / 479.9 MB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.4828, allocations: 387.4 kB / 480.3 MB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005986/0.4888, allocations: 6.371 MB / 486.6 MB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.4905, allocations: 88.02 kB / 486.7 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.4907, allocations: 75.98 kB / 486.8 MB, free: 13.19 MB / 414.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.001871/0.4925, allocations: 1.043 MB / 487.8 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.4929, allocations: 197.6 kB / 488 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.4971, allocations: 2.257 MB / 490.3 MB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4971, allocations: 15.94 kB / 490.3 MB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4971, allocations: 8 kB / 490.3 MB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.4971, allocations: 3.984 kB / 490.3 MB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007915/0.5051, allocations: 5.084 MB / 495.4 MB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.5051, allocations: 3.984 kB / 495.4 MB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/0.5059, allocations: 183.8 kB / 495.6 MB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.5072, allocations: 468.4 kB / 496 MB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.5073, allocations: 39.92 kB / 496.1 MB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.518, allocations: 11.13 MB / 0.4953 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.518, allocations: 4.125 kB / 0.4953 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/0.523, allocations: 3.132 MB / 0.4984 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008619/0.5239, allocations: 438.5 kB / 0.4988 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.5242, allocations: 39.98 kB / 0.4988 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008551/0.525, allocations: 59.95 kB / 0.4989 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.5253, allocations: 109.1 kB / 0.499 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.5254, allocations: 35.98 kB / 0.499 GB, free: 3.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.5273, allocations: 1.319 MB / 0.5003 GB, free: 2.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5273, allocations: 0 / 0.5003 GB, free: 2.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002219/0.5296, allocations: 0.5781 MB / 0.5009 GB, free: 2.051 MB / 430.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.001215/0.5308, allocations: 475.1 kB / 0.5013 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.5342, allocations: 2.167 MB / 0.5035 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5342, allocations: 4 kB / 0.5035 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002257/0.5365, allocations: 1.599 MB / 0.505 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.5387, allocations: 0.5368 MB / 0.5055 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009339/0.5481, allocations: 5.775 MB / 0.5112 GB, free: 7.328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.5503, allocations: 2.352 MB / 0.5135 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001424/0.5517, allocations: 405 kB / 0.5139 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.5521, allocations: 139.4 kB / 0.514 GB, free: 4.41 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5521, allocations: 0 / 0.514 GB, free: 4.41 MB / 446.1 MB Notification: Performance of Templates: time 0.05227/0.6044, allocations: 30.52 MB / 0.5438 GB, free: 5.832 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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