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.001893/0.001893, allocations: 120 kB / 18.46 MB, free: 4.617 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.002318/0.002318, allocations: 212.3 kB / 21.42 MB, free: 1.664 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.483/1.483, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.001525/0.001525, allocations: 44.03 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1165, allocations: 53.34 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.2574/0.3739, allocations: 9.56 MB / 437.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006402/0.3803, allocations: 3.645 MB / 440.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.3827, allocations: 63.56 kB / 440.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.3853, allocations: 0.7658 MB / 441.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.3885, allocations: 0.8836 MB / 442.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3899, allocations: 452.2 kB / 442.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.3935, allocations: 2.433 MB / 445.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.3953, allocations: 1.298 MB / 446.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3975, allocations: 1.134 MB / 447.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.3999, allocations: 1.432 MB / 449.1 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005039/0.4004, allocations: 278.7 kB / 449.4 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.4016, allocations: 421.1 kB / 449.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008455/0.4024, allocations: 0.818 MB / 450.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.4043, allocations: 1.28 MB / 451.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.4101, allocations: 3.77 MB / 455.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4101, allocations: 0 / 455.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4101, allocations: 0 / 455.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.4102, allocations: 0 / 455.7 MB, free: 13.39 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.006847/0.4171, allocations: 2.741 MB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4171, allocations: 9.469 kB / 458.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009565/0.4181, allocations: 294.7 kB / 458.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.4208, allocations: 1.401 MB / 460.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.421, allocations: 148.8 kB / 460.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.4213, allocations: 189.9 kB / 460.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004574/0.4259, allocations: 2.438 MB / 462.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.4259, allocations: 10.77 kB / 462.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.4261, allocations: 72.41 kB / 463 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.4262, allocations: 102.5 kB / 463.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.43, allocations: 1.987 MB / 465.1 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.4427, allocations: 7.333 MB / 472.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.4446, allocations: 1.28 MB / 473.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.4461, allocations: 0.8149 MB / 474.5 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.4464, allocations: 124.2 kB / 474.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.4475, allocations: 0.6898 MB / 475.3 MB, free: 352 kB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.485e-06/0.4475, allocations: 0 / 475.3 MB, free: 352 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01681/0.4643, allocations: 7.367 MB / 482.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.4644, allocations: 167.2 kB / 482.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.4668, allocations: 1.427 MB / 484.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.467, allocations: 49.7 kB / 484.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.468, allocations: 0.9623 MB / 485.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.4684, allocations: 444.3 kB / 485.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.4688, allocations: 243.5 kB / 486 MB, free: 5.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.469, allocations: 365.9 kB / 486.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4701, allocations: 0.6364 MB / 487 MB, free: 4.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.4714, allocations: 0.9984 MB / 487.9 MB, free: 3.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.4739, allocations: 1.707 MB / 489.7 MB, free: 1.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4739, allocations: 3.938 kB / 489.7 MB, free: 1.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004162/0.4781, allocations: 2.352 MB / 492 MB, free: 15.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.4781, allocations: 8 kB / 492 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4781, allocations: 12 kB / 492 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4794, allocations: 492.8 kB / 492.5 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.4805, allocations: 299.5 kB / 492.8 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/0.488, allocations: 7.188 MB / 500 MB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.4896, allocations: 103.8 kB / 0.4884 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4897, allocations: 55.95 kB / 0.4884 GB, free: 6.504 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.001357/0.491, allocations: 0.6384 MB / 0.4891 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.4914, allocations: 163 kB / 0.4892 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.4953, allocations: 2.139 MB / 0.4913 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4954, allocations: 12 kB / 0.4913 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4954, allocations: 7.938 kB / 0.4913 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.4954, allocations: 7.969 kB / 0.4913 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007847/0.5032, allocations: 4.434 MB / 0.4957 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.5032, allocations: 7.984 kB / 0.4957 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/0.504, allocations: 192.1 kB / 0.4958 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.5054, allocations: 0.531 MB / 0.4964 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/0.5055, allocations: 35.97 kB / 0.4964 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008867/0.5144, allocations: 8.748 MB / 0.5049 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.5144, allocations: 4 kB / 0.5049 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005303/0.5197, allocations: 3.077 MB / 0.5079 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.5208, allocations: 379.9 kB / 0.5083 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.521, allocations: 35.98 kB / 0.5083 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008172/0.5218, allocations: 67.92 kB / 0.5084 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/0.5221, allocations: 100.8 kB / 0.5085 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/0.5222, allocations: 39.98 kB / 0.5085 GB, free: 1.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001571/0.5237, allocations: 0.9874 MB / 0.5095 GB, free: 68 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5237, allocations: 3.938 kB / 0.5095 GB, free: 64 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001808/0.5255, allocations: 452.1 kB / 0.5099 GB, free: 15.62 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 (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.001812/0.5274, allocations: 0.4893 MB / 0.5104 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00375/0.5311, allocations: 2.181 MB / 0.5125 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5311, allocations: 4 kB / 0.5126 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.5335, allocations: 1.468 MB / 0.514 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.5358, allocations: 425.3 kB / 0.5144 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/0.5438, allocations: 4.369 MB / 0.5187 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.5454, allocations: 1.69 MB / 0.5203 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/0.546, allocations: 115.4 kB / 0.5204 GB, free: 4.793 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.546, allocations: 0 / 0.5204 GB, free: 4.793 MB / 430.1 MB Notification: Performance of Templates: time 0.09557/0.6416, allocations: 74.01 MB / 0.5927 GB, free: 10.77 MB / 0.4981 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/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: 17.3149067699851]