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.001305/0.001305, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001447/0.001447, allocations: 190 kB / 17.54 MB, free: 6.066 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.388/1.388, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 38.19 kB / 300.1 MB, free: 6.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1261, allocations: 49.46 MB / 349.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01166/0.1378, allocations: 9.407 MB / 359 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006724/0.1446, allocations: 3.405 MB / 362.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.1463, allocations: 47.81 kB / 362.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.1487, allocations: 0.653 MB / 363.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.1523, allocations: 0.7229 MB / 363.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1538, allocations: 421.7 kB / 364.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.1569, allocations: 2.397 MB / 366.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.1588, allocations: 1.778 MB / 368.4 MB, free: 1.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.1604, allocations: 1.102 MB / 369.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2354/0.3958, allocations: 1.406 MB / 370.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.3969, allocations: 280.4 kB / 371.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.3984, allocations: 409 kB / 371.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009755/0.3994, allocations: 0.8067 MB / 372.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.4018, allocations: 1.283 MB / 373.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.4075, allocations: 3.684 MB / 377.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4075, allocations: 1.375 kB / 377.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.4075, allocations: 0 / 377.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001533/0.4077, allocations: 4.844 kB / 377.4 MB, free: 11.92 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008278/0.416, allocations: 2.667 MB / 380 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.4161, allocations: 9.656 kB / 380 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.4172, allocations: 266.1 kB / 380.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.42, allocations: 1.351 MB / 381.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.4201, allocations: 143.3 kB / 381.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.4205, allocations: 194.4 kB / 382 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/0.426, allocations: 2.434 MB / 384.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.4261, allocations: 11.47 kB / 384.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.4263, allocations: 78.2 kB / 384.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.4264, allocations: 95.97 kB / 384.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.4306, allocations: 1.989 MB / 386.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.4431, allocations: 7.393 MB / 394 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.4451, allocations: 1.362 MB / 395.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.4465, allocations: 0.8822 MB / 396.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.4468, allocations: 127.5 kB / 396.3 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.4479, allocations: 0.6805 MB / 397 MB, free: 1.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.826e-06/0.4479, allocations: 0 / 397 MB, free: 1.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=121): time 0.0162/0.4641, allocations: 7.316 MB / 404.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4642, allocations: 175.2 kB / 404.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.4666, allocations: 1.415 MB / 405.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.4667, allocations: 57.64 kB / 406 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000878/0.4676, allocations: 0.9274 MB / 406.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/0.468, allocations: 427.7 kB / 407.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/0.4684, allocations: 243.5 kB / 407.6 MB, free: 8.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4686, allocations: 357.9 kB / 407.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/0.4696, allocations: 0.643 MB / 408.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.471, allocations: 0.9952 MB / 409.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.4734, allocations: 1.711 MB / 411.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4734, allocations: 4 kB / 411.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004109/0.4775, allocations: 2.341 MB / 413.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.4775, allocations: 8.625 kB / 413.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.4776, allocations: 12 kB / 413.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4788, allocations: 496.9 kB / 414.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.4799, allocations: 303.5 kB / 414.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00715/0.4871, allocations: 7.184 MB / 421.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.4889, allocations: 99.88 kB / 421.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.489, allocations: 54.23 kB / 421.7 MB, free: 9.867 MB / 334.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.001444/0.4905, allocations: 0.6402 MB / 422.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.4908, allocations: 158.1 kB / 422.5 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.4945, allocations: 2.148 MB / 424.7 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4945, allocations: 16 kB / 424.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4945, allocations: 4 kB / 424.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4945, allocations: 11.97 kB / 424.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.5027, allocations: 4.46 MB / 429.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.5028, allocations: 4 kB / 429.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.5036, allocations: 185.2 kB / 429.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.5051, allocations: 0.5493 MB / 429.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.5052, allocations: 39.97 kB / 430 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009717/0.515, allocations: 8.735 MB / 438.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.515, allocations: 8.719 kB / 438.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/0.5202, allocations: 3.082 MB / 441.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009679/0.5212, allocations: 367.1 kB / 442.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.5214, allocations: 35.98 kB / 442.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.5222, allocations: 71.92 kB / 442.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.5225, allocations: 91.53 kB / 442.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.5226, allocations: 39.98 kB / 442.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.5242, allocations: 0.9792 MB / 443.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5243, allocations: 0 / 443.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001937/0.5262, allocations: 452 kB / 443.8 MB, free: 3.141 MB / 350.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.001325/0.5275, allocations: 0.4984 MB / 444.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005035/0.5326, allocations: 2.687 MB / 447 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5326, allocations: 0 / 447 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.535, allocations: 1.52 MB / 448.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.5374, allocations: 404.4 kB / 448.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007638/0.545, allocations: 5.116 MB / 454 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.5465, allocations: 1.698 MB / 455.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.5478, allocations: 325 kB / 456 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.5481, allocations: 111.4 kB / 456.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of SimCode: time 1.412e-06/0.5481, allocations: 0 / 456.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of Templates: time 0.05198/0.6001, allocations: 24.68 MB / 480.8 MB, free: 14.46 MB / 398.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