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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 146.3 kB / 25.59 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9253/0.9253, allocations: 173.4 MB / 202.2 MB, free: 8.305 MB / 186.7 MB " [Timeout remaining time 179] 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=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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.644e-05, allocations: 2.312 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.0109/0.01093, allocations: 9.179 MB / 278.4 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.01779, allocations: 3.381 MB / 281.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.01933, allocations: 63.56 kB / 281.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.02135, allocations: 0.7143 MB / 282.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.0243, allocations: 0.8811 MB / 283.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.02556, allocations: 486.8 kB / 283.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.0287, allocations: 2.493 MB / 286.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.03024, allocations: 1.017 MB / 287.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/0.03336, allocations: 1.781 MB / 289.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.03549, allocations: 1.259 MB / 290.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006648/0.03616, allocations: 272 kB / 290.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.03723, allocations: 395.7 kB / 291.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000783/0.03801, allocations: 0.8102 MB / 291.9 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.03945, allocations: 0.8574 MB / 292.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003493/0.04294, allocations: 2.067 MB / 294.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.04295, allocations: 0 / 294.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04295, allocations: 0 / 294.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.062e-05/0.04303, allocations: 0 / 294.8 MB, free: 15.99 MB / 282.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.005734/0.04877, allocations: 2.703 MB / 297.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.04882, allocations: 8.031 kB / 297.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.04987, allocations: 435.2 kB / 298 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.05226, allocations: 1.235 MB / 299.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.05238, allocations: 143.7 kB / 299.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.05267, allocations: 191.9 kB / 299.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.05553, allocations: 1.41 MB / 301 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.919e-05/0.0556, allocations: 15.88 kB / 301 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.05578, allocations: 79.98 kB / 301 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.0559, allocations: 95.67 kB / 301.1 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.05746, allocations: 0.5509 MB / 301.7 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.06782, allocations: 5.913 MB / 307.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.06893, allocations: 0.5763 MB / 308.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/0.06985, allocations: 441.4 kB / 308.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.07003, allocations: 44.92 kB / 308.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007643/0.0708, allocations: 0.4939 MB / 309.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 4.017e-06/0.0708, allocations: 4 kB / 309.2 MB, free: 1.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.00828/0.07908, allocations: 3.104 MB / 312.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.07917, allocations: 171.2 kB / 312.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.08059, allocations: 1.098 MB / 313.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/0.08067, allocations: 45.7 kB / 313.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.08176, allocations: 1.034 MB / 314.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.08212, allocations: 452.2 kB / 315 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003677/0.08248, allocations: 261 kB / 315.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.08268, allocations: 0.5393 MB / 315.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.08303, allocations: 167.8 kB / 316 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.0837, allocations: 0.7839 MB / 316.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.08484, allocations: 0.9242 MB / 317.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.08485, allocations: 4 kB / 317.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002492/0.08735, allocations: 1.205 MB / 318.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.08737, allocations: 11.94 kB / 318.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.08739, allocations: 12 kB / 318.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009481/0.08834, allocations: 281.7 kB / 319.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.08925, allocations: 275.5 kB / 319.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005394/0.09464, allocations: 6.51 MB / 326 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.09585, allocations: 55.98 kB / 326.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.09597, allocations: 39.98 kB / 326.1 MB, free: 15.37 MB / 314.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.0006536/0.09662, allocations: 246.2 kB / 326.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004156/0.09704, allocations: 191 kB / 326.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.09863, allocations: 1.053 MB / 327.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.09864, allocations: 16 kB / 327.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.09865, allocations: 4 kB / 327.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.09866, allocations: 3.984 kB / 327.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.1021, allocations: 2.844 MB / 330.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1021, allocations: 7.938 kB / 330.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.1025, allocations: 171.8 kB / 330.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006585/0.1032, allocations: 326.1 kB / 330.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.1032, allocations: 31.98 kB / 331 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.1071, allocations: 8.196 MB / 339.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1071, allocations: 3.938 kB / 339.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.109, allocations: 1.522 MB / 340.7 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.1095, allocations: 234.9 kB / 340.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.1096, allocations: 35.98 kB / 341 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.1099, allocations: 39.98 kB / 341 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.1101, allocations: 108.7 kB / 341.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/0.1101, allocations: 24 kB / 341.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005305/0.1107, allocations: 0.608 MB / 341.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1107, allocations: 0 / 341.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001134/0.1118, allocations: 451.9 kB / 342.2 MB, free: 14.57 MB / 330.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.00104/0.1128, allocations: 479.7 kB / 342.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.1144, allocations: 1.391 MB / 344 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1144, allocations: 0 / 344 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.1154, allocations: 1.199 MB / 345.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.1165, allocations: 362.2 kB / 345.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.1207, allocations: 3.546 MB / 349.1 MB, free: 7.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.1212, allocations: 0.5244 MB / 349.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005392/0.1217, allocations: 183.9 kB / 349.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.1223, allocations: 418 kB / 350.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.1223, allocations: 0 / 350.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of Templates: time 0.1343/0.2567, allocations: 24.99 MB / 375.2 MB, free: 69.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.51570894382894]