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.000939/0.000939, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003888/0.004827, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009359/0.0009359, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00309/0.004026, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9671/0.9671, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08796/1.055, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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 2.064e-06/2.064e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.329e-05, allocations: 6.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.008149/0.008173, allocations: 9.56 MB / 254.3 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.01355, allocations: 3.154 MB / 257.4 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.01456, allocations: 59.62 kB / 257.5 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.01573, allocations: 0.6402 MB / 258.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.01747, allocations: 0.8186 MB / 259 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.01817, allocations: 391.3 kB / 259.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002259/0.02043, allocations: 2.54 MB / 261.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.02192, allocations: 1.037 MB / 262.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.02541, allocations: 1.923 MB / 264.8 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.02698, allocations: 1.153 MB / 266 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000422/0.0274, allocations: 272 kB / 266.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007663/0.02817, allocations: 375.7 kB / 266.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005392/0.02871, allocations: 0.6273 MB / 267.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009279/0.02963, allocations: 0.7213 MB / 268 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.03191, allocations: 1.873 MB / 269.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.03192, allocations: 4 kB / 269.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03193, allocations: 0 / 269.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.835e-05/0.03197, allocations: 0 / 269.8 MB, free: 4.91 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.002905/0.03488, allocations: 2.855 MB / 272.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.03491, allocations: 12.03 kB / 272.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.03558, allocations: 441.7 kB / 273.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.03684, allocations: 0.9428 MB / 274.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/0.03694, allocations: 140.2 kB / 274.2 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.03715, allocations: 200.3 kB / 274.4 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1261/0.1633, allocations: 1.444 MB / 275.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.948e-05/0.1633, allocations: 9.375 kB / 275.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.1635, allocations: 77.12 kB / 276 MB, free: 20.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.1636, allocations: 88.34 kB / 276 MB, free: 20.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.1648, allocations: 0.5565 MB / 276.6 MB, free: 20.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007023/0.1718, allocations: 5.226 MB / 281.8 MB, free: 18.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.1725, allocations: 0.5693 MB / 282.4 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.1733, allocations: 0.5083 MB / 282.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.1735, allocations: 50.11 kB / 282.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1735, allocations: 48.06 kB / 283 MB, free: 18.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.026e-06/0.1735, allocations: 0 / 283 MB, free: 18.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.005582/0.1791, allocations: 2.592 MB / 285.6 MB, free: 17.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1791, allocations: 75.19 kB / 285.7 MB, free: 17.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007849/0.1799, allocations: 0.8876 MB / 286.5 MB, free: 17.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.1799, allocations: 44.67 kB / 286.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.1803, allocations: 0.7994 MB / 287.4 MB, free: 17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.1805, allocations: 402.9 kB / 287.8 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.1808, allocations: 241.6 kB / 288 MB, free: 16.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.1808, allocations: 362 kB / 288.4 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.1811, allocations: 159.5 kB / 288.5 MB, free: 16.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.1814, allocations: 0.5166 MB / 289 MB, free: 15.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/0.1821, allocations: 0.8501 MB / 289.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.1821, allocations: 0 / 289.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001261/0.1833, allocations: 0.9759 MB / 290.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1834, allocations: 13.59 kB / 290.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.1834, allocations: 9.5 kB / 290.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.184, allocations: 294 kB / 291.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.1847, allocations: 320 kB / 291.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.1874, allocations: 4.806 MB / 296.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.1881, allocations: 44.33 kB / 296.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.1882, allocations: 44.92 kB / 296.4 MB, free: 10.96 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.0004597/0.1886, allocations: 191.6 kB / 296.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.1888, allocations: 126 kB / 296.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1898, allocations: 0.8351 MB / 297.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1898, allocations: 8 kB / 297.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1898, allocations: 8 kB / 297.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1898, allocations: 8.516 kB / 297.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.1923, allocations: 1.972 MB / 299.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1923, allocations: 4 kB / 299.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.1928, allocations: 203.9 kB / 299.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.1931, allocations: 185.4 kB / 299.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006716/0.1937, allocations: 361.8 kB / 300.3 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.1938, allocations: 27.98 kB / 300.3 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.1963, allocations: 6.018 MB / 306.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1963, allocations: 0 / 306.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.1975, allocations: 1.219 MB / 307.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.1977, allocations: 28 kB / 307.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.198, allocations: 43.97 kB / 307.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.1982, allocations: 96.7 kB / 307.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.1982, allocations: 16 kB / 307.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003951/0.1986, allocations: 443.3 kB / 308.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1986, allocations: 0 / 308.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001212/0.1998, allocations: 428 kB / 308.6 MB, free: 14.89 MB / 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.0002789/0.2001, allocations: 171.3 kB / 308.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.2016, allocations: 1.141 MB / 309.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.806e-05/0.2016, allocations: 30.89 kB / 309.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.2027, allocations: 1.118 MB / 311 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.2048, allocations: 3.645 MB / 314.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.2185, allocations: 3.326 MB / 318 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.2191, allocations: 452.1 kB / 318.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006776/0.2197, allocations: 172 kB / 318.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.2204, allocations: 369.1 kB / 319 MB, free: 3.676 MB / 282.7 MB Notification: Performance of SimCode: time 1.834e-06/0.2204, allocations: 0 / 319 MB, free: 3.676 MB / 282.7 MB Notification: Performance of Templates: time 0.03267/0.253, allocations: 24.78 MB / 343.7 MB, free: 11.33 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.414410335943103]