Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001293/0.001293, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001855/0.001855, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9692/0.9692, allocations: 173.3 MB / 201.1 MB, free: 8.945 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_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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.154e-05, allocations: 6.312 kB / 268 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.008936/0.008968, allocations: 9.648 MB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005162/0.01413, allocations: 2.976 MB / 280.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01531, allocations: 59.62 kB / 280.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.01669, allocations: 0.617 MB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002169/0.01886, allocations: 0.8264 MB / 282.1 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.01954, allocations: 379.3 kB / 282.5 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.02213, allocations: 2.513 MB / 285 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.02326, allocations: 1.005 MB / 286 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.0254, allocations: 1.622 MB / 287.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.02713, allocations: 1.2 MB / 288.8 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.02762, allocations: 280 kB / 289.1 MB, free: 1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.02832, allocations: 363.8 kB / 289.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1276/0.1559, allocations: 0.818 MB / 290.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.1579, allocations: 0.881 MB / 291.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.1607, allocations: 2.022 MB / 293.2 MB, free: 18.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1607, allocations: 0 / 293.2 MB, free: 18.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1607, allocations: 1.188 kB / 293.2 MB, free: 18.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.842e-05/0.1608, allocations: 0 / 293.2 MB, free: 18.77 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.004672/0.1655, allocations: 2.711 MB / 295.9 MB, free: 17.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1655, allocations: 12.06 kB / 295.9 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/0.1663, allocations: 440.7 kB / 296.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.1682, allocations: 1.253 MB / 297.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.1683, allocations: 142 kB / 297.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.1685, allocations: 198.3 kB / 297.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.171, allocations: 1.552 MB / 299.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.171, allocations: 11.23 kB / 299.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.1711, allocations: 79.62 kB / 299.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.375e-05/0.1712, allocations: 89.59 kB / 299.7 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.1728, allocations: 0.7155 MB / 300.4 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006851/0.1796, allocations: 6.597 MB / 307 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.1805, allocations: 0.6089 MB / 307.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008546/0.1814, allocations: 0.5895 MB / 308.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.1815, allocations: 55.66 kB / 308.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1815, allocations: 48.95 kB / 308.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.837e-06/0.1816, allocations: 2.953 kB / 308.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.005383/0.1869, allocations: 3.199 MB / 311.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.187, allocations: 67.77 kB / 311.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.188, allocations: 1.072 MB / 312.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.188, allocations: 45.14 kB / 312.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.1884, allocations: 1.012 MB / 313.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.1886, allocations: 412.5 kB / 314.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.1888, allocations: 257.1 kB / 314.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.1889, allocations: 0.5387 MB / 314.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.1893, allocations: 225.3 kB / 315.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.1899, allocations: 0.7261 MB / 315.8 MB, free: 7.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.1909, allocations: 1.064 MB / 316.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1909, allocations: 4 kB / 316.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001679/0.1926, allocations: 1.315 MB / 318.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.1927, allocations: 12 kB / 318.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.1927, allocations: 8 kB / 318.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/0.1934, allocations: 290.1 kB / 318.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.194, allocations: 305.5 kB / 318.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.1977, allocations: 6.738 MB / 325.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.1984, allocations: 87.88 kB / 325.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/0.1985, allocations: 55.98 kB / 325.7 MB, free: 13.65 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.0006394/0.1991, allocations: 242.1 kB / 325.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.1994, allocations: 175.1 kB / 326.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.2009, allocations: 1.083 MB / 327.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2009, allocations: 8 kB / 327.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2009, allocations: 4 kB / 327.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.2009, allocations: 11.97 kB / 327.2 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.2048, allocations: 2.739 MB / 329.9 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2048, allocations: 4.281 kB / 329.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.2053, allocations: 190.3 kB / 330.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008171/0.2061, allocations: 366.3 kB / 330.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.449e-05/0.2062, allocations: 27.98 kB / 330.5 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004893/0.2111, allocations: 8.545 MB / 339 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.2111, allocations: 4 kB / 339.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.2135, allocations: 1.541 MB / 340.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/0.214, allocations: 257.8 kB / 340.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.2141, allocations: 32 kB / 340.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.2145, allocations: 67.92 kB / 340.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.2147, allocations: 92.02 kB / 341 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.2147, allocations: 31.92 kB / 341.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007584/0.2155, allocations: 0.6304 MB / 341.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2155, allocations: 0 / 341.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001342/0.2168, allocations: 435.9 kB / 342.1 MB, free: 12.68 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%), (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.0003048/0.2171, allocations: 189.7 kB / 342.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.2191, allocations: 1.497 MB / 343.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2191, allocations: 0 / 343.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.2203, allocations: 1.295 MB / 345.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.2214, allocations: 367.3 kB / 345.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.2267, allocations: 3.506 MB / 349 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.2271, allocations: 500 kB / 349.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006636/0.2278, allocations: 247.8 kB / 349.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.228, allocations: 96.48 kB / 349.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of SimCode: time 2.615e-06/0.228, allocations: 0 / 349.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of Templates: time 0.0312/0.2592, allocations: 22.87 MB / 372.7 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6617511832155287]