Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 215.3 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3059, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01178/0.3177, allocations: 8.46 MB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.3249, allocations: 3.436 MB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.3263, allocations: 59.62 kB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.3284, allocations: 0.7184 MB / 444.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.3312, allocations: 0.8896 MB / 445.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3325, allocations: 455.1 kB / 445.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.3358, allocations: 2.432 MB / 448 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.3375, allocations: 1.049 MB / 449.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.3394, allocations: 1.141 MB / 450.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.342, allocations: 1.44 MB / 451.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005405/0.3425, allocations: 276 kB / 451.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.3435, allocations: 419.8 kB / 452.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009878/0.3445, allocations: 0.8141 MB / 453.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.346, allocations: 1.039 MB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004855/0.3509, allocations: 3.794 MB / 458 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3509, allocations: 4 kB / 458 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3509, allocations: 0 / 458 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.81e-05/0.351, allocations: 0 / 458 MB, free: 12.18 MB / 366.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.005866/0.3569, allocations: 2.663 MB / 460.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3569, allocations: 12.03 kB / 460.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.3578, allocations: 287.3 kB / 460.9 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.3606, allocations: 1.329 MB / 462.3 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.3608, allocations: 139.7 kB / 462.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/0.3611, allocations: 187.9 kB / 462.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004377/0.3655, allocations: 2.544 MB / 465.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.3655, allocations: 7.953 kB / 465.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.3657, allocations: 76 kB / 465.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.3658, allocations: 95.67 kB / 465.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003496/0.3693, allocations: 1.986 MB / 467.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.3811, allocations: 6.332 MB / 473.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.383, allocations: 1.054 MB / 474.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.3846, allocations: 0.8155 MB / 475.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.3848, allocations: 40.97 kB / 475.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.386, allocations: 0.7909 MB / 476.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 3.336e-06/0.3861, allocations: 0 / 476.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01775/0.4038, allocations: 6.835 MB / 483.2 MB, free: 2.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.4039, allocations: 167.2 kB / 483.3 MB, free: 2.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.406, allocations: 1.278 MB / 484.6 MB, free: 1.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.4062, allocations: 53.69 kB / 484.7 MB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009405/0.4071, allocations: 0.973 MB / 485.6 MB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004261/0.4075, allocations: 444.4 kB / 486.1 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005906/0.4081, allocations: 247.5 kB / 486.3 MB, free: 15.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.4083, allocations: 353.9 kB / 486.6 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.4094, allocations: 0.6442 MB / 487.3 MB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.411, allocations: 1.102 MB / 488.4 MB, free: 13.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.4136, allocations: 1.711 MB / 490.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.4136, allocations: 4 kB / 490.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004668/0.4183, allocations: 2.25 MB / 492.4 MB, free: 8.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.4183, allocations: 15.12 kB / 492.4 MB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.4183, allocations: 15.94 kB / 492.4 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.4197, allocations: 496 kB / 492.9 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.4209, allocations: 295.5 kB / 493.2 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/0.4292, allocations: 6.761 MB / 499.9 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.4308, allocations: 95.86 kB / 0.4883 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.431, allocations: 52 kB / 0.4883 GB, free: 0.9336 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.001409/0.4324, allocations: 0.6379 MB / 0.489 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.4327, allocations: 151 kB / 0.4891 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.437, allocations: 2.062 MB / 0.4911 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.437, allocations: 23.92 kB / 0.4912 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.437, allocations: 7.938 kB / 0.4912 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.437, allocations: 3.984 kB / 0.4912 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008468/0.4455, allocations: 3.876 MB / 0.4949 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4455, allocations: 4 kB / 0.495 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.4464, allocations: 191.8 kB / 0.4951 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.448, allocations: 0.5343 MB / 0.4957 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/0.4482, allocations: 31.98 kB / 0.4957 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.4584, allocations: 8.179 MB / 0.5037 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/0.4584, allocations: 11.94 kB / 0.5037 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.4639, allocations: 3.009 MB / 0.5066 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009291/0.4648, allocations: 282.9 kB / 0.5069 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.4651, allocations: 32 kB / 0.5069 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.4659, allocations: 67.92 kB / 0.507 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.4661, allocations: 104.7 kB / 0.5071 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/0.4662, allocations: 39.98 kB / 0.5071 GB, free: 13.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.4676, allocations: 0.8662 MB / 0.508 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4676, allocations: 3.938 kB / 0.508 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001558/0.4691, allocations: 451.9 kB / 0.5084 GB, free: 11.77 MB / 430.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 (105): * Single equations (assignments): 98 * 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.001919/0.471, allocations: 0.5215 MB / 0.5089 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003702/0.4747, allocations: 2.034 MB / 0.5109 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4748, allocations: 0 / 0.5109 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.4771, allocations: 1.396 MB / 0.5123 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.4788, allocations: 367.6 kB / 0.5126 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/0.4858, allocations: 4.304 MB / 0.5168 GB, free: 3.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.4872, allocations: 1.137 MB / 0.5179 GB, free: 1.988 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009043/0.4881, allocations: 303.8 kB / 0.5182 GB, free: 1.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.4884, allocations: 103.4 kB / 0.5183 GB, free: 1.586 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4884, allocations: 0 / 0.5183 GB, free: 1.586 MB / 430.1 MB Notification: Performance of Templates: time 0.267/0.7554, allocations: 26.62 MB / 0.5443 GB, free: 95.49 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.58590045478195]