Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.0009875/0.0009875, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009607/0.0009607, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.004e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.009763/0.009793, allocations: 11.72 MB / 284.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.01562, allocations: 3.771 MB / 288.6 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008723/0.01649, allocations: 91.38 kB / 288.6 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.01788, allocations: 0.8741 MB / 289.5 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.01982, allocations: 1.18 MB / 290.7 MB, free: 120 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1116/0.1314, allocations: 0.4964 MB / 291.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.1354, allocations: 4.381 MB / 295.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.1374, allocations: 1.796 MB / 297.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.1406, allocations: 2.866 MB / 300.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.1434, allocations: 2.261 MB / 302.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008862/0.1443, allocations: 0.4953 MB / 303 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009041/0.1452, allocations: 0.5902 MB / 303.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008921/0.1461, allocations: 1.475 MB / 305.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.1476, allocations: 1.544 MB / 306.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.1503, allocations: 3.632 MB / 310.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1503, allocations: 4.125 kB / 310.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1503, allocations: 0 / 310.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.434e-05/0.1504, allocations: 0.8125 kB / 310.2 MB, free: 10.05 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004187/0.1546, allocations: 4.572 MB / 314.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1546, allocations: 15.97 kB / 314.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.1556, allocations: 0.7248 MB / 315.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.1576, allocations: 2.235 MB / 317.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.634e-05/0.1577, allocations: 234.3 kB / 318 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/0.1579, allocations: 308.8 kB / 318.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.1608, allocations: 2.673 MB / 321 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-05/0.1609, allocations: 7.953 kB / 321 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.1611, allocations: 128.7 kB / 321.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.17e-05/0.1612, allocations: 126 kB / 321.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.1637, allocations: 1.17 MB / 322.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.1748, allocations: 11.06 MB / 333.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.1763, allocations: 1.146 MB / 334.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.1777, allocations: 0.829 MB / 335.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.1779, allocations: 61.28 kB / 335.5 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1779, allocations: 58.45 kB / 335.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.888e-06/0.1779, allocations: 3.984 kB / 335.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.00839/0.1863, allocations: 4.49 MB / 340.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1864, allocations: 73.41 kB / 340.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.1885, allocations: 1.837 MB / 342 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.1887, allocations: 57.7 kB / 342 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.1898, allocations: 1.623 MB / 343.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.1903, allocations: 0.647 MB / 344.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005659/0.1909, allocations: 385.1 kB / 344.7 MB, free: 7.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.191, allocations: 476.8 kB / 345.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008141/0.1918, allocations: 327.8 kB / 345.5 MB, free: 7.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.193, allocations: 0.9385 MB / 346.4 MB, free: 5.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.195, allocations: 1.436 MB / 347.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.195, allocations: 7.938 kB / 347.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003769/0.1988, allocations: 1.854 MB / 349.7 MB, free: 2.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.1988, allocations: 12 kB / 349.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.1988, allocations: 12 kB / 349.7 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.2004, allocations: 0.517 MB / 350.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.2017, allocations: 454 kB / 350.7 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007278/0.209, allocations: 10.3 MB / 361 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.2105, allocations: 123.8 kB / 361.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.2107, allocations: 72 kB / 361.2 MB, free: 6.391 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000943/0.2116, allocations: 281 kB / 361.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/0.2121, allocations: 310.4 kB / 361.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.2155, allocations: 1.632 MB / 363.4 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.2155, allocations: 16 kB / 363.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.2155, allocations: 8 kB / 363.4 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.2155, allocations: 7.969 kB / 363.4 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007801/0.2233, allocations: 4.318 MB / 367.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.2233, allocations: 0 / 367.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/0.2243, allocations: 297.6 kB / 368 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/0.2261, allocations: 0.6126 MB / 368.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.2262, allocations: 43.97 kB / 368.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00938/0.2356, allocations: 13.98 MB / 382.7 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2356, allocations: 3.469 kB / 382.7 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00449/0.2401, allocations: 2.224 MB / 384.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.2411, allocations: 461.4 kB / 385.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.2414, allocations: 43.98 kB / 385.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008506/0.2422, allocations: 115.9 kB / 385.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/0.2426, allocations: 161.2 kB / 385.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/0.2427, allocations: 51.98 kB / 385.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001577/0.2443, allocations: 1.05 MB / 386.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2443, allocations: 4 kB / 386.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001937/0.2462, allocations: 0.707 MB / 387.5 MB, free: 11.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.000374/0.2466, allocations: 207.9 kB / 387.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.2497, allocations: 2.252 MB / 389.9 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2497, allocations: 1.938 kB / 389.9 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.2521, allocations: 2.092 MB / 392 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.2542, allocations: 0.6406 MB / 392.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/0.2622, allocations: 5.639 MB / 398.3 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/0.263, allocations: 0.9031 MB / 399.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001091/0.2641, allocations: 455.1 kB / 399.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.2645, allocations: 156.5 kB / 399.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2645, allocations: 0 / 399.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Templates: time 0.1601/0.4246, allocations: 41.06 MB / 440.9 MB, free: 110.8 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.145801204023883]