Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001953/0.001953, allocations: 191 kB / 18 MB, free: 5.207 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.487/1.487, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 47.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2938, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01246/0.3063, allocations: 9.456 MB / 410.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00649/0.3129, allocations: 3.463 MB / 413.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.3141, allocations: 51.75 kB / 413.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.3162, allocations: 0.7536 MB / 414.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.3188, allocations: 0.8273 MB / 415.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3201, allocations: 483 kB / 415.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.323, allocations: 2.411 MB / 418.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.3254, allocations: 1.774 MB / 420 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.3271, allocations: 1.106 MB / 421.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.3292, allocations: 1.382 MB / 422.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005876/0.3298, allocations: 280 kB / 422.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3309, allocations: 407.8 kB / 423.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.3319, allocations: 0.8064 MB / 423.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.3341, allocations: 1.283 MB / 425.2 MB, free: 272 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.338, allocations: 3.728 MB / 428.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3381, allocations: 0 / 428.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3381, allocations: 0 / 428.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.243e-05/0.3381, allocations: 3.938 kB / 428.9 MB, free: 12.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.004987/0.3431, allocations: 2.675 MB / 431.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3432, allocations: 11.97 kB / 431.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/0.3438, allocations: 266 kB / 431.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.3459, allocations: 1.377 MB / 433.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.3461, allocations: 139.7 kB / 433.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.3463, allocations: 199.8 kB / 433.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/0.3501, allocations: 2.44 MB / 436 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.613e-05/0.3502, allocations: 7.844 kB / 436 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.3503, allocations: 72 kB / 436.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.3504, allocations: 95.67 kB / 436.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.3538, allocations: 1.986 MB / 438.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.3648, allocations: 7.323 MB / 445.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.3666, allocations: 1.345 MB / 446.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.368, allocations: 0.8854 MB / 447.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.3683, allocations: 122.1 kB / 447.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.3693, allocations: 0.675 MB / 448.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.146e-06/0.3693, allocations: 0 / 448.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01498/0.3843, allocations: 7.344 MB / 455.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.3844, allocations: 171.2 kB / 456 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.3865, allocations: 1.411 MB / 457.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.3867, allocations: 49.7 kB / 457.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008521/0.3875, allocations: 0.9325 MB / 458.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.3879, allocations: 433.9 kB / 458.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.3883, allocations: 243.5 kB / 459.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3884, allocations: 361.9 kB / 459.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009742/0.3894, allocations: 0.6364 MB / 460.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.3907, allocations: 0.9975 MB / 461.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.393, allocations: 1.711 MB / 462.8 MB, free: 9.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.393, allocations: 0 / 462.8 MB, free: 9.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003804/0.3968, allocations: 2.34 MB / 465.1 MB, free: 7.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.3968, allocations: 12 kB / 465.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.3969, allocations: 8 kB / 465.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.3981, allocations: 492.2 kB / 465.6 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.3992, allocations: 299.5 kB / 465.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007176/0.4064, allocations: 7.174 MB / 473.1 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4078, allocations: 104 kB / 473.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.408, allocations: 55.98 kB / 473.3 MB, free: 14.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001178/0.4091, allocations: 0.6248 MB / 473.9 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.4094, allocations: 166 kB / 474 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.413, allocations: 2.151 MB / 476.2 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.413, allocations: 20 kB / 476.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.413, allocations: 7.938 kB / 476.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.4131, allocations: 3.984 kB / 476.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00778/0.4208, allocations: 4.449 MB / 480.7 MB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.4209, allocations: 4 kB / 480.7 MB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.4217, allocations: 187.7 kB / 480.9 MB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.4232, allocations: 0.535 MB / 481.4 MB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.4233, allocations: 35.98 kB / 481.4 MB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008734/0.432, allocations: 8.736 MB / 490.2 MB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4321, allocations: 7.938 kB / 490.2 MB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/0.4375, allocations: 3.079 MB / 493.3 MB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/0.4385, allocations: 371.1 kB / 493.6 MB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.439, allocations: 32 kB / 493.6 MB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.44, allocations: 71.86 kB / 493.7 MB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.4403, allocations: 100.8 kB / 493.8 MB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/0.4404, allocations: 39.98 kB / 493.9 MB, free: 9.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001792/0.4422, allocations: 0.9792 MB / 494.8 MB, free: 8.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4422, allocations: 0 / 494.8 MB, free: 8.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00197/0.4441, allocations: 448 kB / 495.3 MB, free: 7.812 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.4454, allocations: 492.1 kB / 495.8 MB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003994/0.4494, allocations: 2.252 MB / 498 MB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.4494, allocations: 0 / 498 MB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.4519, allocations: 1.522 MB / 499.5 MB, free: 3.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.4543, allocations: 428.7 kB / 499.9 MB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/0.4627, allocations: 4.223 MB / 0.4924 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.4649, allocations: 1.702 MB / 0.494 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001224/0.4662, allocations: 321 kB / 0.4943 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/0.4666, allocations: 111.4 kB / 0.4944 GB, free: 12.68 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4666, allocations: 0 / 0.4944 GB, free: 12.68 MB / 430.1 MB Notification: Performance of Templates: time 0.04609/0.5127, allocations: 25.06 MB / 0.5189 GB, free: 3.859 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches