Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001444/0.001444, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001917/0.001917, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9871/0.9871, allocations: 177 MB / 204.8 MB, free: 5.586 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.717e-05, allocations: 5.406 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.0131/0.01314, allocations: 9.708 MB / 282.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005243/0.01838, allocations: 3.046 MB / 285.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.01946, allocations: 63.62 kB / 285.8 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.02076, allocations: 0.6286 MB / 286.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.02262, allocations: 0.8302 MB / 287.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.02332, allocations: 391.3 kB / 287.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.02563, allocations: 2.536 MB / 290.1 MB, free: 168 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1256/0.1512, allocations: 0.9984 MB / 291.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.1544, allocations: 1.779 MB / 292.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.1566, allocations: 1.154 MB / 294.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000832/0.1575, allocations: 271 kB / 294.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008752/0.1583, allocations: 369.7 kB / 294.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007541/0.1591, allocations: 0.7797 MB / 295.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.1608, allocations: 0.8694 MB / 296.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002902/0.1637, allocations: 2.002 MB / 298.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1637, allocations: 0.9375 kB / 298.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1637, allocations: 2.625 kB / 298.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.854e-05/0.1638, allocations: 0 / 298.3 MB, free: 15.67 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004505/0.1683, allocations: 2.677 MB / 301 MB, free: 14.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1683, allocations: 14.36 kB / 301 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009285/0.1693, allocations: 437 kB / 301.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.171, allocations: 1.28 MB / 302.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1711, allocations: 143.6 kB / 302.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.1713, allocations: 196.6 kB / 303.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.1736, allocations: 1.556 MB / 304.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.1736, allocations: 11.08 kB / 304.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.1737, allocations: 81.33 kB / 304.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-05/0.1738, allocations: 93.02 kB / 304.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1752, allocations: 0.6999 MB / 305.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006145/0.1814, allocations: 6.525 MB / 312 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.1822, allocations: 0.6163 MB / 312.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.1829, allocations: 0.5968 MB / 313.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.1831, allocations: 48.95 kB / 313.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1831, allocations: 47.14 kB / 313.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.826e-06/0.1831, allocations: 4 kB / 313.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004844/0.1879, allocations: 3.168 MB / 316.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.188, allocations: 68.16 kB / 316.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.1888, allocations: 1.077 MB / 317.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.1888, allocations: 49.7 kB / 317.7 MB, free: 2.902 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.1892, allocations: 1.019 MB / 318.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.1893, allocations: 414.7 kB / 319.1 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.1896, allocations: 257.2 kB / 319.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.1896, allocations: 0.5394 MB / 319.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.1899, allocations: 219.9 kB / 320.1 MB, free: 468 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.1905, allocations: 0.7266 MB / 320.9 MB, free: 15.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1915, allocations: 1.058 MB / 321.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.1915, allocations: 4 kB / 321.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001764/0.1932, allocations: 1.315 MB / 323.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1933, allocations: 12.62 kB / 323.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.1933, allocations: 8.562 kB / 323.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007092/0.194, allocations: 290.2 kB / 323.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.1946, allocations: 294.3 kB / 323.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.1986, allocations: 6.738 MB / 330.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/0.1996, allocations: 75.94 kB / 330.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.1997, allocations: 59.48 kB / 330.7 MB, free: 5.277 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007215/0.2004, allocations: 233.9 kB / 330.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.2007, allocations: 187 kB / 331.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.2022, allocations: 1.065 MB / 332.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2022, allocations: 16 kB / 332.2 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.2022, allocations: 4 kB / 332.2 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2022, allocations: 3.984 kB / 332.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.2058, allocations: 2.709 MB / 334.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2058, allocations: 4.281 kB / 334.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.2063, allocations: 186.1 kB / 335.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007776/0.2071, allocations: 346.4 kB / 335.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.2071, allocations: 35.92 kB / 335.5 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/0.2116, allocations: 8.47 MB / 343.9 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2116, allocations: 7.469 kB / 343.9 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.2137, allocations: 1.534 MB / 345.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.2141, allocations: 262.1 kB / 345.7 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2142, allocations: 27.98 kB / 345.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.2146, allocations: 55.95 kB / 345.8 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.2148, allocations: 92.2 kB / 345.9 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.2148, allocations: 35.97 kB / 345.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006944/0.2155, allocations: 0.6308 MB / 346.6 MB, free: 4.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2155, allocations: 0 / 346.6 MB, free: 4.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001231/0.2168, allocations: 428 kB / 347 MB, free: 4.445 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,100.0%), (2,8,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.0002974/0.2171, allocations: 190.9 kB / 347.2 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.2188, allocations: 1.491 MB / 348.7 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2188, allocations: 5.938 kB / 348.7 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2198, allocations: 1.256 MB / 349.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2209, allocations: 375.6 kB / 350.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.2255, allocations: 3.49 MB / 353.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.226, allocations: 500 kB / 354.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006334/0.2266, allocations: 259.7 kB / 354.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.2268, allocations: 92.48 kB / 354.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2268, allocations: 3.938 kB / 354.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Templates: time 0.02975/0.2565, allocations: 23.28 MB / 377.9 MB, free: 5.793 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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: 3.4356901589781046]