Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001267/0.001267, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001123/0.001123, allocations: 170.8 kB / 24.91 MB, free: 9.145 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.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.98e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01112/0.01114, allocations: 9.508 MB / 283 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.01751, allocations: 3.131 MB / 286.1 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.01836, allocations: 59.62 kB / 286.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.01997, allocations: 0.6403 MB / 286.8 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.02202, allocations: 0.8147 MB / 287.7 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.02279, allocations: 399.2 kB / 288.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.02483, allocations: 2.525 MB / 290.6 MB, free: 96 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1123/0.1372, allocations: 1.024 MB / 291.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.1396, allocations: 1.764 MB / 293.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.1413, allocations: 1.151 MB / 294.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004455/0.1417, allocations: 271.2 kB / 294.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006693/0.1424, allocations: 374 kB / 295.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005801/0.1429, allocations: 0.779 MB / 295.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009783/0.1439, allocations: 0.8677 MB / 296.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.1461, allocations: 2 MB / 298.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1461, allocations: 0.6094 kB / 298.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1461, allocations: 0.9375 kB / 298.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.713e-05/0.1462, allocations: 0 / 298.8 MB, free: 15.84 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.003234/0.1494, allocations: 2.396 MB / 301.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.1495, allocations: 8.25 kB / 301.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.1508, allocations: 368 kB / 301.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.1524, allocations: 0.9356 MB / 302.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/0.1525, allocations: 148.2 kB / 302.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.1527, allocations: 195.4 kB / 302.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.1547, allocations: 1.449 MB / 304.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/0.1548, allocations: 11.34 kB / 304.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.1549, allocations: 81.56 kB / 304.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/0.155, allocations: 87.81 kB / 304.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.1559, allocations: 0.5538 MB / 305 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005499/0.1614, allocations: 5.203 MB / 310.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.162, allocations: 0.5734 MB / 310.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.1626, allocations: 0.5105 MB / 311.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.1627, allocations: 47.05 kB / 311.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1627, allocations: 43.69 kB / 311.4 MB, free: 9.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.126e-06/0.1627, allocations: 4 kB / 311.4 MB, free: 9.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004256/0.167, allocations: 2.576 MB / 314 MB, free: 7.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.167, allocations: 64.41 kB / 314 MB, free: 7.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.1676, allocations: 0.8855 MB / 314.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.1676, allocations: 49.69 kB / 315 MB, free: 6.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.1678, allocations: 0.7942 MB / 315.8 MB, free: 5.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.168, allocations: 406 kB / 316.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.1682, allocations: 237.6 kB / 316.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.1683, allocations: 363.3 kB / 316.7 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1685, allocations: 166.8 kB / 316.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.1687, allocations: 0.5082 MB / 317.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.1693, allocations: 0.8083 MB / 318.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1693, allocations: 11.94 kB / 318.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001097/0.1704, allocations: 0.9692 MB / 319.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1704, allocations: 12.31 kB / 319.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1704, allocations: 12 kB / 319.2 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.171, allocations: 277.3 kB / 319.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.1716, allocations: 309.7 kB / 319.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.1746, allocations: 4.8 MB / 324.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.1751, allocations: 47.95 kB / 324.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.1751, allocations: 48.02 kB / 324.7 MB, free: 12.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.0004752/0.1756, allocations: 197.2 kB / 324.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.1758, allocations: 119.9 kB / 325 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.1768, allocations: 0.8291 MB / 325.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1769, allocations: 23.97 kB / 325.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1769, allocations: 4 kB / 325.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1769, allocations: 3.984 kB / 325.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.1794, allocations: 1.969 MB / 327.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1794, allocations: 288 / 327.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.1799, allocations: 195.5 kB / 328 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000703/0.1806, allocations: 357.6 kB / 328.4 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.1807, allocations: 31.98 kB / 328.4 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.184, allocations: 6.008 MB / 334.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.184, allocations: 4 kB / 334.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1854, allocations: 1.22 MB / 335.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.1858, allocations: 179 kB / 335.8 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1859, allocations: 27.98 kB / 335.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.1862, allocations: 35.98 kB / 335.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.1864, allocations: 84.83 kB / 335.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.1864, allocations: 31.92 kB / 336 MB, free: 1.164 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003891/0.1868, allocations: 437.5 kB / 336.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1868, allocations: 3.469 kB / 336.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00121/0.188, allocations: 439.9 kB / 336.8 MB, free: 360 kB / 282.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.000257/0.1883, allocations: 170 kB / 337 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1895, allocations: 1.121 MB / 338.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.259e-05/0.1895, allocations: 13.19 kB / 338.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007848/0.1903, allocations: 0.9307 MB / 339.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.1912, allocations: 378 kB / 339.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.1955, allocations: 3.255 MB / 342.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1959, allocations: 440 kB / 343.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004881/0.1964, allocations: 175.9 kB / 343.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/0.1969, allocations: 361.1 kB / 343.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.197, allocations: 0 / 343.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of Templates: time 0.03123/0.2282, allocations: 23.85 MB / 367.5 MB, free: 2.105 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4270610068924725]