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.0009847/0.0009847, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001402/0.002387, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000904/0.000904, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001219/0.002123, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9692/0.9692, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09788/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.784e-06/1.784e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.506e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007917/0.007932, allocations: 9.35 MB / 254.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005874/0.01381, allocations: 3.688 MB / 257.8 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008441/0.01465, allocations: 63.62 kB / 257.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.01583, allocations: 0.7376 MB / 258.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.01736, allocations: 0.9277 MB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.01802, allocations: 462.8 kB / 259.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.01965, allocations: 2.524 MB / 262.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008686/0.02052, allocations: 1.045 MB / 263.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.02211, allocations: 1.962 MB / 265.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.02312, allocations: 1.231 MB / 266.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.02337, allocations: 272 kB / 267 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.02387, allocations: 411.7 kB / 267.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.02429, allocations: 0.6623 MB / 268 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.02484, allocations: 0.7213 MB / 268.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.02656, allocations: 1.951 MB / 270.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.02657, allocations: 0 / 270.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02657, allocations: 0 / 270.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.0266, allocations: 0 / 270.7 MB, free: 4.066 MB / 266.7 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.00263/0.02923, allocations: 2.946 MB / 273.6 MB, free: 1.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.02927, allocations: 15.98 kB / 273.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006011/0.02987, allocations: 433.7 kB / 274.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1256/0.1555, allocations: 0.9635 MB / 275.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.1556, allocations: 140.2 kB / 275.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.1558, allocations: 197.1 kB / 275.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.1577, allocations: 1.438 MB / 276.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.1577, allocations: 8.203 kB / 276.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1578, allocations: 85.28 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.592e-05/0.1579, allocations: 93.47 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/0.1589, allocations: 0.5444 MB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.1642, allocations: 4.781 MB / 282.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.1648, allocations: 0.5829 MB / 282.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.1654, allocations: 406.4 kB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1655, allocations: 42.73 kB / 283.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/0.166, allocations: 485 kB / 283.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.365e-06/0.166, allocations: 0 / 283.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005259/0.1713, allocations: 3.206 MB / 287 MB, free: 10.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.1713, allocations: 68.73 kB / 287.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.172, allocations: 1.005 MB / 288.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.172, allocations: 45.58 kB / 288.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.1723, allocations: 0.8001 MB / 288.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.1725, allocations: 433.8 kB / 289.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.1727, allocations: 234.3 kB / 289.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.1728, allocations: 363.5 kB / 290 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.173, allocations: 160 kB / 290.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.1733, allocations: 0.608 MB / 290.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.1739, allocations: 0.8241 MB / 291.5 MB, free: 7.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1739, allocations: 6.25 kB / 291.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001074/0.175, allocations: 0.9697 MB / 292.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.175, allocations: 14.5 kB / 292.5 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.175, allocations: 10.47 kB / 292.5 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.1756, allocations: 281.7 kB / 292.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.1763, allocations: 316.1 kB / 293.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.1785, allocations: 4.781 MB / 297.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.1789, allocations: 55.3 kB / 298 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.179, allocations: 39.53 kB / 298 MB, free: 3.762 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0002598/0.1792, allocations: 207.8 kB / 298.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.1794, allocations: 128.4 kB / 298.3 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.1804, allocations: 0.8896 MB / 299.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1804, allocations: 11.59 kB / 299.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1804, allocations: 9.938 kB / 299.2 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.1804, allocations: 8.719 kB / 299.2 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.1827, allocations: 2.388 MB / 301.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1827, allocations: 4 kB / 301.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.1831, allocations: 202.4 kB / 301.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.1833, allocations: 195 kB / 302 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/0.1839, allocations: 351.5 kB / 302.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.184, allocations: 39.97 kB / 302.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.1872, allocations: 5.937 MB / 308.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1872, allocations: 7.938 kB / 308.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1886, allocations: 1.299 MB / 309.7 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.1888, allocations: 36.47 kB / 309.7 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.1891, allocations: 39.98 kB / 309.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.1892, allocations: 100.6 kB / 309.8 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.1893, allocations: 31.98 kB / 309.9 MB, free: 8.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003991/0.1897, allocations: 476.5 kB / 310.3 MB, free: 8.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1897, allocations: 1.422 kB / 310.3 MB, free: 8.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009168/0.1906, allocations: 447.9 kB / 310.8 MB, free: 7.93 MB / 282.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.1919, allocations: 0.6413 MB / 311.4 MB, free: 7.609 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.1931, allocations: 1.177 MB / 312.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.504e-05/0.1932, allocations: 27.12 kB / 312.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.1942, allocations: 1.17 MB / 313.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.1962, allocations: 3.355 MB / 317.1 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.2081, allocations: 3.431 MB / 320.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.2085, allocations: 476.7 kB / 321 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000422/0.2089, allocations: 180.2 kB / 321.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/0.2094, allocations: 373 kB / 321.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2094, allocations: 0 / 321.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Templates: time 0.02957/0.239, allocations: 25.71 MB / 347.3 MB, free: 3.453 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.534515154547989]