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.001087/0.001087, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.002281/0.002281, allocations: 162.7 kB / 24.99 MB, free: 8.801 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.9631/0.9631, allocations: 177 MB / 205.2 MB, free: 5.605 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.803e-06/1.803e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.81e-05, allocations: 6.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01268/0.01271, allocations: 9.443 MB / 282.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008473/0.02118, allocations: 3.564 MB / 286 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.02256, allocations: 63.56 kB / 286.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.02418, allocations: 0.7182 MB / 286.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.02641, allocations: 0.9199 MB / 287.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.0273, allocations: 466.8 kB / 288.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.126/0.1533, allocations: 2.522 MB / 290.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.1551, allocations: 1.015 MB / 291.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.1576, allocations: 1.644 MB / 293.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.1595, allocations: 1.305 MB / 294.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006868/0.1602, allocations: 279.9 kB / 294.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.161, allocations: 421.5 kB / 295.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007564/0.1618, allocations: 0.8481 MB / 296.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.1633, allocations: 0.889 MB / 297.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.1663, allocations: 2.123 MB / 299.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1663, allocations: 0.7969 kB / 299.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1663, allocations: 0.5 kB / 299.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.171e-05/0.1664, allocations: 1.219 kB / 299.2 MB, free: 15.45 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.00436/0.1708, allocations: 2.828 MB / 302 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1708, allocations: 9.5 kB / 302 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.1717, allocations: 451 kB / 302.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.1734, allocations: 1.294 MB / 303.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.585e-05/0.1734, allocations: 145.6 kB / 303.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.1737, allocations: 189 kB / 304.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.1758, allocations: 1.548 MB / 305.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.1758, allocations: 10.73 kB / 305.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.1759, allocations: 75.41 kB / 305.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-05/0.176, allocations: 97.62 kB / 305.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1773, allocations: 0.7046 MB / 306.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.1834, allocations: 6.091 MB / 312.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.1842, allocations: 0.6064 MB / 313.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.1849, allocations: 487.2 kB / 313.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.185, allocations: 52.62 kB / 313.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.1855, allocations: 0.5136 MB / 314.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 3.206e-06/0.1855, allocations: 0 / 314.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.006084/0.1916, allocations: 3.906 MB / 318.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1916, allocations: 171.2 kB / 318.4 MB, free: 2.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1927, allocations: 1.138 MB / 319.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.1928, allocations: 45.7 kB / 319.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.1933, allocations: 1.035 MB / 320.6 MB, free: 388 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.1935, allocations: 448 kB / 321 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.1938, allocations: 245.2 kB / 321.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1939, allocations: 0.5433 MB / 321.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.1944, allocations: 223.8 kB / 322 MB, free: 14.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.1953, allocations: 0.8023 MB / 322.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.1963, allocations: 0.9974 MB / 323.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.1963, allocations: 4.562 kB / 323.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00206/0.1984, allocations: 1.326 MB / 325.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1984, allocations: 14.97 kB / 325.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.1984, allocations: 8 kB / 325.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007022/0.1991, allocations: 293.4 kB / 325.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.1998, allocations: 303.3 kB / 325.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/0.2043, allocations: 6.674 MB / 332.4 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.2053, allocations: 91.91 kB / 332.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.2054, allocations: 56 kB / 332.6 MB, free: 3.75 MB / 282.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.0006818/0.206, allocations: 242.3 kB / 332.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.2063, allocations: 195 kB / 333 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.208, allocations: 1.168 MB / 334.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.208, allocations: 12.05 kB / 334.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.208, allocations: 11.98 kB / 334.2 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.208, allocations: 3.984 kB / 334.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.2121, allocations: 2.994 MB / 337.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2121, allocations: 0 / 337.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.2125, allocations: 190.4 kB / 337.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000743/0.2133, allocations: 354.3 kB / 337.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/0.2133, allocations: 35.98 kB / 337.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/0.2175, allocations: 8.457 MB / 346.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2175, allocations: 11.12 kB / 346.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.2196, allocations: 1.683 MB / 347.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.22, allocations: 274.9 kB / 348.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.2202, allocations: 35.98 kB / 348.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.2206, allocations: 63.94 kB / 348.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2208, allocations: 104.6 kB / 348.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.2208, allocations: 43.98 kB / 348.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007234/0.2215, allocations: 0.675 MB / 349.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2215, allocations: 0 / 349.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001244/0.2228, allocations: 447.9 kB / 349.5 MB, free: 2.242 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%), (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.001019/0.2238, allocations: 470.8 kB / 350 MB, free: 1.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.2256, allocations: 1.526 MB / 351.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2256, allocations: 0 / 351.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.2268, allocations: 1.316 MB / 352.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.2279, allocations: 385.9 kB / 353.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.233, allocations: 3.611 MB / 356.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.2334, allocations: 0.5166 MB / 357.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000667/0.2341, allocations: 251.9 kB / 357.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.2344, allocations: 108.5 kB / 357.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2344, allocations: 0 / 357.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of Templates: time 0.03236/0.2667, allocations: 23.77 MB / 381.5 MB, free: 2.684 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.3247118319850415]