Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.00177/0.00177, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.001952/0.001952, allocations: 191.7 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.583/1.583, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 47.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2982, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01983/0.318, allocations: 10.38 MB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3293, allocations: 3.556 MB / 437 MB, free: 492 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.3318, allocations: 91.44 kB / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.3352, allocations: 0.8576 MB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.3402, allocations: 1.142 MB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3419, allocations: 0.4915 MB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007254/0.3491, allocations: 4.222 MB / 443.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.3517, allocations: 1.775 MB / 445.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.3551, allocations: 1.959 MB / 447.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.3592, allocations: 2.3 MB / 449.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008585/0.3601, allocations: 0.4961 MB / 450.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.3615, allocations: 0.5818 MB / 450.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.363, allocations: 1.406 MB / 452.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.3655, allocations: 1.789 MB / 454.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.3727, allocations: 6.606 MB / 460.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3727, allocations: 7.984 kB / 460.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3727, allocations: 0 / 460.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.3729, allocations: 0 / 460.7 MB, free: 8.605 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01/0.3829, allocations: 4.324 MB / 465.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.3829, allocations: 8.031 kB / 465.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.3842, allocations: 462.3 kB / 465.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005148/0.3893, allocations: 2.347 MB / 467.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.3896, allocations: 234.1 kB / 468.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000712/0.3903, allocations: 304 kB / 468.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.4019, allocations: 4.595 MB / 473 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.019e-05/0.402, allocations: 11.89 kB / 473 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.4023, allocations: 132 kB / 473.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.4025, allocations: 130 kB / 473.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/0.4102, allocations: 3.771 MB / 477 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02505/0.4353, allocations: 11.73 MB / 488.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.4387, allocations: 2.093 MB / 490.9 MB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.4417, allocations: 1.555 MB / 492.4 MB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.4419, allocations: 57.28 kB / 492.5 MB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.442, allocations: 59.81 kB / 492.5 MB, free: 8.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 6.112e-06/0.442, allocations: 3.984 kB / 492.5 MB, free: 8.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.019/0.461, allocations: 8.463 MB / 0.4893 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.4611, allocations: 73.34 kB / 0.4893 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.465, allocations: 2.136 MB / 0.4914 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.4652, allocations: 57.7 kB / 0.4915 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.4666, allocations: 1.507 MB / 0.4929 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/0.4672, allocations: 0.6352 MB / 0.4936 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006283/0.4679, allocations: 367.5 kB / 0.4939 GB, free: 10.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.468, allocations: 309.1 kB / 0.4942 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.4699, allocations: 1.12 MB / 0.4953 GB, free: 9.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.4722, allocations: 1.57 MB / 0.4968 GB, free: 7.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/0.4765, allocations: 2.78 MB / 0.4995 GB, free: 4.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.4765, allocations: 8 kB / 0.4996 GB, free: 4.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006731/0.4832, allocations: 3.57 MB / 0.503 GB, free: 1.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4832, allocations: 8 kB / 0.503 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.4833, allocations: 12 kB / 0.5031 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.4854, allocations: 0.8294 MB / 0.5039 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.4872, allocations: 455.3 kB / 0.5043 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.4992, allocations: 10.46 MB / 0.5145 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.5016, allocations: 123.9 kB / 0.5146 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.5018, allocations: 72 kB / 0.5147 GB, free: 4.645 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00235/0.5041, allocations: 1.095 MB / 0.5158 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/0.5047, allocations: 238.5 kB / 0.516 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/0.5113, allocations: 3.272 MB / 0.5192 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.5113, allocations: 20 kB / 0.5192 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-05/0.5114, allocations: 4 kB / 0.5192 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.5114, allocations: 7.922 kB / 0.5192 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.5247, allocations: 6.04 MB / 0.5251 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.5247, allocations: 3.938 kB / 0.5251 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.5261, allocations: 295.5 kB / 0.5254 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/0.5288, allocations: 0.9316 MB / 0.5263 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.529, allocations: 43.92 kB / 0.5264 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2938/0.8228, allocations: 13.64 MB / 0.5397 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8228, allocations: 1.375 kB / 0.5397 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/0.8297, allocations: 4.837 MB / 0.5444 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.8308, allocations: 492.1 kB / 0.5449 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.8311, allocations: 42.44 kB / 0.5449 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.8323, allocations: 125 kB / 0.545 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.8327, allocations: 159.3 kB / 0.5452 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-05/0.8328, allocations: 49.36 kB / 0.5452 GB, free: 101.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.8345, allocations: 1.452 MB / 0.5467 GB, free: 100.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8345, allocations: 0 / 0.5467 GB, free: 100.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001899/0.8364, allocations: 0.7051 MB / 0.5473 GB, free: 100.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.000348/0.8368, allocations: 202.5 kB / 0.5475 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004354/0.8411, allocations: 3.335 MB / 0.5508 GB, free: 98.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8411, allocations: 3.812 kB / 0.5508 GB, free: 98.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.8437, allocations: 2.352 MB / 0.5531 GB, free: 96.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.8462, allocations: 0.6043 MB / 0.5537 GB, free: 95.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/0.8555, allocations: 6.848 MB / 0.5604 GB, free: 89.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.8572, allocations: 1.973 MB / 0.5623 GB, free: 87.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001462/0.8587, allocations: 0.5576 MB / 0.5628 GB, free: 87.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.8591, allocations: 151.4 kB / 0.563 GB, free: 87.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.8591, allocations: 4 kB / 0.563 GB, free: 87.09 MB / 446.1 MB Notification: Performance of Templates: time 0.05767/0.9168, allocations: 44.74 MB / 0.6067 GB, free: 42.88 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.75523473508656]