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.000813/0.000813, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002141, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001558/0.001558, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.003294, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9167/0.9167, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08828/1.005, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.393e-06/1.393e-06, allocations: 0 / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.64e-05, allocations: 10.81 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007854/0.00787, allocations: 9.505 MB / 249.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.01284, allocations: 3.076 MB / 252.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007159/0.01356, allocations: 67.56 kB / 252.2 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.01464, allocations: 0.6325 MB / 252.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.01604, allocations: 0.8147 MB / 253.7 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.01655, allocations: 391.2 kB / 254 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.01826, allocations: 2.525 MB / 256.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008968/0.01916, allocations: 1.029 MB / 257.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.02102, allocations: 1.915 MB / 259.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009182/0.02194, allocations: 1.146 MB / 260.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.02216, allocations: 276 kB / 260.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.02259, allocations: 363.7 kB / 261.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.023, allocations: 0.6351 MB / 261.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.02361, allocations: 0.7175 MB / 262.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.02508, allocations: 1.857 MB / 264.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.02509, allocations: 0 / 264.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.02509, allocations: 7.938 kB / 264.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.964e-05/0.02513, allocations: 0 / 264.5 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003041/0.02817, allocations: 2.839 MB / 267.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.02821, allocations: 12.03 kB / 267.4 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.02876, allocations: 425.8 kB / 267.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.02987, allocations: 0.9233 MB / 268.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.02995, allocations: 152.1 kB / 268.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.03014, allocations: 196.3 kB / 269 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.03159, allocations: 1.451 MB / 270.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.03163, allocations: 11.89 kB / 270.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.03173, allocations: 79.98 kB / 270.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/0.0318, allocations: 87.69 kB / 270.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.03258, allocations: 0.5484 MB / 271.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.131/0.1635, allocations: 5.229 MB / 276.4 MB, free: 21.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/0.1644, allocations: 0.5719 MB / 277 MB, free: 21.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007682/0.1652, allocations: 0.5114 MB / 277.5 MB, free: 21.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.1653, allocations: 41.08 kB / 277.6 MB, free: 21.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1654, allocations: 48.58 kB / 277.6 MB, free: 21.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.905e-06/0.1654, allocations: 1.719 kB / 277.6 MB, free: 21.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004915/0.1703, allocations: 2.571 MB / 280.2 MB, free: 21.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.1703, allocations: 63.69 kB / 280.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007198/0.171, allocations: 0.8923 MB / 281.1 MB, free: 20.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.1711, allocations: 45.27 kB / 281.2 MB, free: 20.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.1714, allocations: 0.7928 MB / 282 MB, free: 20.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.1716, allocations: 412.6 kB / 282.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.1719, allocations: 233.6 kB / 282.6 MB, free: 20.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.172, allocations: 362.8 kB / 283 MB, free: 19.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1722, allocations: 160.4 kB / 283.1 MB, free: 19.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.1726, allocations: 0.511 MB / 283.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.1732, allocations: 0.8191 MB / 284.4 MB, free: 18.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1732, allocations: 2.938 kB / 284.4 MB, free: 18.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001184/0.1744, allocations: 0.9721 MB / 285.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1744, allocations: 9.031 kB / 285.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1745, allocations: 12.22 kB / 285.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.175, allocations: 286.1 kB / 285.7 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.1757, allocations: 322.8 kB / 286 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.178, allocations: 4.799 MB / 290.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.1785, allocations: 46.86 kB / 290.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.1785, allocations: 48.27 kB / 290.9 MB, free: 14.87 MB / 266.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.0003407/0.1789, allocations: 197.6 kB / 291.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.1791, allocations: 120 kB / 291.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.1801, allocations: 0.8374 MB / 292.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1801, allocations: 10.41 kB / 292.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1801, allocations: 9.188 kB / 292.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1801, allocations: 5.938 kB / 292.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.1823, allocations: 1.969 MB / 294.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1823, allocations: 3.969 kB / 294.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.1827, allocations: 205 kB / 294.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.183, allocations: 173.9 kB / 294.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006573/0.1836, allocations: 365 kB / 294.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.1837, allocations: 25.61 kB / 294.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.1861, allocations: 6.012 MB / 300.8 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1862, allocations: 3.938 kB / 300.8 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1873, allocations: 1.213 MB / 302 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1874, allocations: 29.52 kB / 302.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.1877, allocations: 35.05 kB / 302.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1878, allocations: 94.83 kB / 302.2 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.1878, allocations: 26.33 kB / 302.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.1881, allocations: 435.2 kB / 302.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1881, allocations: 0 / 302.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007827/0.1889, allocations: 431.9 kB / 303.1 MB, free: 7.977 MB / 266.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.0002276/0.1891, allocations: 170.5 kB / 303.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000933/0.19, allocations: 1.125 MB / 304.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.212e-05/0.1901, allocations: 30.25 kB / 304.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.1907, allocations: 0.9352 MB / 305.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.1915, allocations: 476.6 kB / 305.8 MB, free: 5.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.2035, allocations: 3.388 MB / 309.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.2039, allocations: 452 kB / 309.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005218/0.2044, allocations: 171.9 kB / 309.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.2049, allocations: 367.7 kB / 310.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2049, allocations: 0 / 310.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of Templates: time 0.02873/0.2336, allocations: 24.67 MB / 334.8 MB, free: 8.504 MB / 298.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 -ignoreHideResult -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.133278171531856]