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_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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 104 kB / 17.59 MB, free: 5.559 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.001757/0.001758, allocations: 191.5 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 51.7 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08815, allocations: 49.45 MB / 350.8 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0151/0.1033, allocations: 13.43 MB / 364.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008971/0.1123, allocations: 4.844 MB / 369 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.1145, allocations: 79.69 kB / 369.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.1177, allocations: 1.099 MB / 370.2 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.16/0.2778, allocations: 1.367 MB / 371.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.2811, allocations: 0.9794 MB / 372.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006438/0.2875, allocations: 4.041 MB / 376.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004425/0.292, allocations: 3.262 MB / 379.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.2956, allocations: 1.904 MB / 381.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004069/0.2997, allocations: 2.155 MB / 383.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.3013, allocations: 0.5088 MB / 384.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.3041, allocations: 0.755 MB / 385.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.3054, allocations: 1.144 MB / 386.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003487/0.3089, allocations: 2.144 MB / 388.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.3153, allocations: 6.762 MB / 395.2 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3153, allocations: 1.406 kB / 395.2 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3153, allocations: 0 / 395.2 MB, free: 2.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.3155, allocations: 7.844 kB / 395.2 MB, free: 2.828 MB / 302.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.01139/0.3269, allocations: 4.479 MB / 399.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3269, allocations: 9.562 kB / 399.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.3314, allocations: 0.8194 MB / 400.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.3361, allocations: 2.402 MB / 402.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.3363, allocations: 246.3 kB / 403.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006624/0.3369, allocations: 319.9 kB / 403.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007765/0.3447, allocations: 4.286 MB / 407.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.047e-05/0.3448, allocations: 3.984 kB / 407.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.3452, allocations: 132 kB / 407.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.3453, allocations: 158.4 kB / 408.1 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00641/0.3517, allocations: 3.632 MB / 411.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02192/0.3737, allocations: 13.4 MB / 425.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.3809, allocations: 6.958 MB / 432.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.3833, allocations: 1.38 MB / 433.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006967/0.3903, allocations: 3.871 MB / 437.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/0.3917, allocations: 0.8568 MB / 438.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=132): time 3.407e-06/0.3917, allocations: 0 / 438.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.0131/0.4048, allocations: 6.522 MB / 444.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.405, allocations: 222.9 kB / 444.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.4084, allocations: 1.906 MB / 446.8 MB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.4086, allocations: 45.7 kB / 446.9 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.4101, allocations: 1.482 MB / 448.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/0.4106, allocations: 483.1 kB / 448.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/0.4112, allocations: 307.3 kB / 449.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4113, allocations: 317 kB / 449.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.4124, allocations: 0.6637 MB / 450.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.4139, allocations: 1.216 MB / 451.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.4165, allocations: 1.938 MB / 453.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.4166, allocations: 4 kB / 453.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004096/0.4207, allocations: 2.424 MB / 455.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4207, allocations: 16.03 kB / 455.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.4207, allocations: 16 kB / 455.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007591/0.4215, allocations: 295.2 kB / 456 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.4229, allocations: 375.4 kB / 456.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/0.4286, allocations: 6.378 MB / 462.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4303, allocations: 95.92 kB / 462.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.4306, allocations: 79.92 kB / 462.9 MB, free: 15.22 MB / 382.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 (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.001939/0.4325, allocations: 1.028 MB / 463.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.433, allocations: 197.6 kB / 464.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.4371, allocations: 2.269 MB / 466.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.4371, allocations: 12 kB / 466.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/0.4372, allocations: 11.94 kB / 466.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4372, allocations: 7.969 kB / 466.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009139/0.4463, allocations: 5.108 MB / 471.5 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.4464, allocations: 7.984 kB / 471.5 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.4472, allocations: 175.8 kB / 471.7 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.4484, allocations: 478.9 kB / 472.2 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.4486, allocations: 35.98 kB / 472.2 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.459, allocations: 11.15 MB / 483.4 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4591, allocations: 3.938 kB / 483.4 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00514/0.4642, allocations: 3.139 MB / 486.5 MB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.4653, allocations: 426.6 kB / 486.9 MB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005657/0.4659, allocations: 39.97 kB / 487 MB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.4671, allocations: 67.89 kB / 487 MB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.4674, allocations: 109.1 kB / 487.1 MB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/0.4675, allocations: 36 kB / 487.2 MB, free: 5.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002364/0.4699, allocations: 1.311 MB / 488.5 MB, free: 4.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4699, allocations: 0 / 488.5 MB, free: 4.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002702/0.4726, allocations: 0.586 MB / 489.1 MB, free: 4.098 MB / 398.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 (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.001261/0.4739, allocations: 491 kB / 489.5 MB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005271/0.4792, allocations: 2.594 MB / 492.1 MB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4792, allocations: 0 / 492.1 MB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.4817, allocations: 1.575 MB / 493.7 MB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.485, allocations: 0.5397 MB / 494.3 MB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.4961, allocations: 5.831 MB / 0.4884 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/0.4987, allocations: 2.301 MB / 0.4906 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.4993, allocations: 147.4 kB / 0.4908 GB, free: 6.617 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4993, allocations: 0 / 0.4908 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Templates: time 0.2538/0.7532, allocations: 114.1 MB / 0.6021 GB, free: 92.71 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches