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.00139/0.00139, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001502/0.001502, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 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 1.964e-06/1.964e-06, allocations: 0 / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.692e-05, allocations: 2.312 kB / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0125/0.01253, allocations: 8.473 MB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007855/0.02038, allocations: 3.428 MB / 284.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.02188, allocations: 63.56 kB / 284.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.02478, allocations: 0.7299 MB / 285 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.02802, allocations: 0.9238 MB / 286 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.02924, allocations: 454.9 kB / 286.4 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003571/0.03281, allocations: 2.512 MB / 288.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.03482, allocations: 1.014 MB / 289.9 MB, free: 80 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1255/0.1603, allocations: 1.626 MB / 291.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.1623, allocations: 1.211 MB / 292.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.1628, allocations: 279.8 kB / 293 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008958/0.1637, allocations: 425.6 kB / 293.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007963/0.1645, allocations: 0.8326 MB / 294.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.1656, allocations: 0.879 MB / 295.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00401/0.1696, allocations: 3.806 MB / 299 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1696, allocations: 0 / 299 MB, free: 15.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1696, allocations: 0.5938 kB / 299 MB, free: 15.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.108e-05/0.1697, allocations: 0.625 kB / 299 MB, free: 15.73 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.005375/0.1751, allocations: 2.644 MB / 301.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1751, allocations: 8.938 kB / 301.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.1762, allocations: 449.5 kB / 302.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.1785, allocations: 1.378 MB / 303.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.1786, allocations: 140.8 kB / 303.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.1789, allocations: 199.6 kB / 303.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.1826, allocations: 2.54 MB / 306.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/0.1826, allocations: 11.27 kB / 306.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.1828, allocations: 79.31 kB / 306.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-05/0.1829, allocations: 95.08 kB / 306.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.1857, allocations: 1.985 MB / 308.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008852/0.1945, allocations: 6.429 MB / 314.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1959, allocations: 1.058 MB / 316 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.1972, allocations: 0.823 MB / 316.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.1974, allocations: 52.97 kB / 316.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.1983, allocations: 0.7886 MB / 317.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.386e-06/0.1983, allocations: 0 / 317.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.01624/0.2145, allocations: 6.858 MB / 324.5 MB, free: 12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.2147, allocations: 171.2 kB / 324.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.2169, allocations: 1.282 MB / 325.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.2171, allocations: 45.7 kB / 326 MB, free: 10.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.2185, allocations: 0.9682 MB / 326.9 MB, free: 9.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/0.219, allocations: 442.1 kB / 327.4 MB, free: 9.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/0.2195, allocations: 247.5 kB / 327.6 MB, free: 8.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.2197, allocations: 357.9 kB / 328 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.2209, allocations: 0.6403 MB / 328.6 MB, free: 7.801 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.2225, allocations: 1.102 MB / 329.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.2252, allocations: 1.71 MB / 331.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.2252, allocations: 5.969 kB / 331.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004874/0.2301, allocations: 2.312 MB / 333.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.2301, allocations: 12 kB / 333.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.2302, allocations: 12 kB / 333.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.2319, allocations: 0.5262 MB / 334.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.2331, allocations: 302.3 kB / 334.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009077/0.2422, allocations: 6.784 MB / 341.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.2437, allocations: 87.98 kB / 341.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.2438, allocations: 59.98 kB / 341.5 MB, free: 10.45 MB / 298.7 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.001406/0.2453, allocations: 0.6345 MB / 342.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005039/0.2458, allocations: 191 kB / 342.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/0.2501, allocations: 2.072 MB / 344.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.2501, allocations: 12 kB / 344.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.2501, allocations: 4 kB / 344.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.2502, allocations: 7.969 kB / 344.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/0.2586, allocations: 3.893 MB / 348.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.2586, allocations: 8.062 kB / 348.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.2595, allocations: 194.1 kB / 348.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.2615, allocations: 0.5645 MB / 349.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.2616, allocations: 31.98 kB / 349.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.2718, allocations: 8.199 MB / 357.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.2718, allocations: 11.06 kB / 357.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/0.2776, allocations: 3.036 MB / 360.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008937/0.2785, allocations: 278.9 kB / 360.6 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.2787, allocations: 39.98 kB / 360.7 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.2795, allocations: 75.92 kB / 360.7 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.2798, allocations: 100.2 kB / 360.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/0.2799, allocations: 39.98 kB / 360.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001489/0.2814, allocations: 0.8701 MB / 361.8 MB, free: 5.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2814, allocations: 0 / 361.8 MB, free: 5.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001736/0.2831, allocations: 451.9 kB / 362.2 MB, free: 5.344 MB / 314.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%), (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.002135/0.2852, allocations: 0.5211 MB / 362.7 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004031/0.2893, allocations: 2.042 MB / 364.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.2893, allocations: 0 / 364.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.2918, allocations: 1.397 MB / 366.2 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.2938, allocations: 381 kB / 366.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.302, allocations: 4.156 MB / 370.7 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.3037, allocations: 1.133 MB / 371.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001443/0.3052, allocations: 307.8 kB / 372.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.3055, allocations: 112.4 kB / 372.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3055, allocations: 0 / 372.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of Templates: time 0.04762/0.3531, allocations: 23.71 MB / 395.9 MB, free: 4.086 MB / 346.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=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.239219809998758]