Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009508/0.0009508, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9083/0.9083, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.705e-05, allocations: 9.266 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007245/0.007262, allocations: 9.244 MB / 282.6 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.01193, allocations: 3.664 MB / 286.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.01246, allocations: 63.56 kB / 286.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.01355, allocations: 0.7299 MB / 287.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.01482, allocations: 0.9239 MB / 288 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.01538, allocations: 462.8 kB / 288.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1038/0.1192, allocations: 2.519 MB / 291 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.1207, allocations: 1.044 MB / 292 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.1235, allocations: 1.78 MB / 293.8 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.1254, allocations: 1.238 MB / 295.1 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000663/0.1261, allocations: 271.1 kB / 295.3 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000839/0.1269, allocations: 412.2 kB / 295.7 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00072/0.1277, allocations: 0.8068 MB / 296.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.1289, allocations: 0.8669 MB / 297.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.1313, allocations: 2.079 MB / 299.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1313, allocations: 0 / 299.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1313, allocations: 0.9375 kB / 299.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.256e-05/0.1313, allocations: 1.406 kB / 299.5 MB, free: 15.46 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.003058/0.1344, allocations: 2.487 MB / 302 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1344, allocations: 9.625 kB / 302 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006369/0.1351, allocations: 353.8 kB / 302.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.1363, allocations: 0.9756 MB / 303.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.1363, allocations: 143.8 kB / 303.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.1365, allocations: 193.9 kB / 303.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.1379, allocations: 1.451 MB / 305.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.1379, allocations: 3.562 kB / 305.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.138, allocations: 77.16 kB / 305.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.1381, allocations: 92.55 kB / 305.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/0.1388, allocations: 0.5514 MB / 305.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.1431, allocations: 4.767 MB / 310.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.1437, allocations: 0.5791 MB / 311.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.1441, allocations: 411 kB / 311.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.1442, allocations: 44.98 kB / 311.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.1446, allocations: 481.5 kB / 312.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.986e-06/0.1446, allocations: 0 / 312.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.004597/0.1491, allocations: 3.127 MB / 315.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.1492, allocations: 175.2 kB / 315.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.1498, allocations: 1.008 MB / 316.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.104e-05/0.1498, allocations: 49.7 kB / 316.4 MB, free: 4.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1501, allocations: 0.7881 MB / 317.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.1502, allocations: 445.9 kB / 317.6 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.1504, allocations: 231.6 kB / 317.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.1505, allocations: 372.3 kB / 318.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.1507, allocations: 162.8 kB / 318.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.1509, allocations: 0.6068 MB / 319 MB, free: 2.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.1515, allocations: 0.7946 MB / 319.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1515, allocations: 4 kB / 319.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0009893/0.1525, allocations: 0.9787 MB / 320.8 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1525, allocations: 12 kB / 320.8 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1525, allocations: 8 kB / 320.8 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/0.153, allocations: 284.3 kB / 321.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.1535, allocations: 265.1 kB / 321.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.1562, allocations: 4.759 MB / 326.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.1566, allocations: 59.92 kB / 326.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.1567, allocations: 47.47 kB / 326.2 MB, free: 10.94 MB / 282.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.0003514/0.157, allocations: 209 kB / 326.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.1572, allocations: 127.9 kB / 326.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.1583, allocations: 0.8795 MB / 327.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1583, allocations: 12 kB / 327.4 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1583, allocations: 7.938 kB / 327.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1583, allocations: 7.969 kB / 327.4 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.1609, allocations: 2.384 MB / 329.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1609, allocations: 4 kB / 329.8 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.1613, allocations: 169.7 kB / 330 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006603/0.162, allocations: 343.4 kB / 330.3 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.162, allocations: 39.25 kB / 330.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/0.1651, allocations: 5.932 MB / 336.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1651, allocations: 7.984 kB / 336.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.1664, allocations: 1.299 MB / 337.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.1667, allocations: 189.5 kB / 337.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1668, allocations: 39.88 kB / 337.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.1672, allocations: 43.97 kB / 337.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.1673, allocations: 100.1 kB / 338 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.1673, allocations: 27.98 kB / 338 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003679/0.1677, allocations: 479.6 kB / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1677, allocations: 0 / 338.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001009/0.1687, allocations: 447.9 kB / 338.9 MB, free: 14.22 MB / 298.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.001242/0.17, allocations: 0.5839 MB / 339.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.1712, allocations: 1.144 MB / 340.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.906e-05/0.1712, allocations: 20.06 kB / 340.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.172, allocations: 0.9484 MB / 341.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.1729, allocations: 374.3 kB / 342 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.1769, allocations: 3.406 MB / 345.4 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1772, allocations: 477.1 kB / 345.8 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.1776, allocations: 184 kB / 346 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/0.1782, allocations: 373 kB / 346.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1782, allocations: 0 / 346.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of Templates: time 0.02873/0.2069, allocations: 24.69 MB / 371.1 MB, free: 14.67 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.007885707076639]