Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.001882/0.001882, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002604/0.002604, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.179/2.179, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 51.91 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4457, allocations: 53.38 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.02347/0.4692, allocations: 10.41 MB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.4814, allocations: 3.635 MB / 446.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.4844, allocations: 91.38 kB / 446.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.4887, allocations: 0.8626 MB / 447.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006274/0.495, allocations: 1.158 MB / 448.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.4973, allocations: 0.4954 MB / 449 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008514/0.5058, allocations: 4.245 MB / 453.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004827/0.5106, allocations: 1.849 MB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.5157, allocations: 1.959 MB / 457.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006282/0.522, allocations: 2.394 MB / 459.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001956/0.524, allocations: 0.4961 MB / 459.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.527, allocations: 0.5936 MB / 460.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003226/0.5302, allocations: 1.414 MB / 462 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005194/0.5354, allocations: 1.793 MB / 463.8 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.5481, allocations: 6.624 MB / 470.4 MB, free: 492 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.5481, allocations: 0 / 470.4 MB, free: 492 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5481, allocations: 0 / 470.4 MB, free: 492 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001889/0.5483, allocations: 0 / 470.4 MB, free: 492 kB / 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.01797/0.5663, allocations: 4.358 MB / 474.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.5663, allocations: 12.03 kB / 474.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.5694, allocations: 490.2 kB / 475.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009196/0.5786, allocations: 2.356 MB / 477.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.579, allocations: 234.1 kB / 477.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/0.5804, allocations: 308 kB / 478.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.597, allocations: 4.599 MB / 482.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/0.5972, allocations: 7.953 kB / 482.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/0.5983, allocations: 132 kB / 482.8 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/0.5986, allocations: 130 kB / 483 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.6123, allocations: 3.775 MB / 486.7 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.6542, allocations: 11.74 MB / 498.5 MB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006241/0.6604, allocations: 2.079 MB / 0.4888 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005425/0.6659, allocations: 1.563 MB / 0.4904 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.6662, allocations: 49.28 kB / 0.4904 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.435e-05/0.6663, allocations: 51.88 kB / 0.4905 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 6.171e-06/0.6663, allocations: 4 kB / 0.4905 GB, free: 36 kB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.03377/0.7001, allocations: 8.484 MB / 0.4987 GB, free: 7.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.774e-05/0.7002, allocations: 73.41 kB / 0.4988 GB, free: 7.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005751/0.7059, allocations: 2.149 MB / 0.5009 GB, free: 5.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005102/0.7064, allocations: 57.7 kB / 0.501 GB, free: 5.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.7084, allocations: 1.515 MB / 0.5024 GB, free: 3.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.7095, allocations: 0.6352 MB / 0.5031 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.7108, allocations: 367.5 kB / 0.5034 GB, free: 2.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.7109, allocations: 305.1 kB / 0.5037 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/0.7143, allocations: 1.124 MB / 0.5048 GB, free: 1.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/0.7182, allocations: 1.574 MB / 0.5063 GB, free: 15.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007401/0.7256, allocations: 2.784 MB / 0.5091 GB, free: 12.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/0.7257, allocations: 4 kB / 0.5091 GB, free: 12.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0118/0.7375, allocations: 3.578 MB / 0.5126 GB, free: 8.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.7375, allocations: 12 kB / 0.5126 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/0.7376, allocations: 12 kB / 0.5126 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/0.7411, allocations: 0.801 MB / 0.5134 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/0.7444, allocations: 455.3 kB / 0.5138 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.7636, allocations: 10.47 MB / 0.524 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/0.7669, allocations: 119.8 kB / 0.5241 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005425/0.7675, allocations: 76 kB / 0.5242 GB, free: 12.42 MB / 446.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.003434/0.7709, allocations: 1.099 MB / 0.5253 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.7719, allocations: 238.5 kB / 0.5255 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.7824, allocations: 3.268 MB / 0.5287 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.7824, allocations: 23.94 kB / 0.5287 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.7825, allocations: 8 kB / 0.5287 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-05/0.7825, allocations: 7.969 kB / 0.5287 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/0.8051, allocations: 6.051 MB / 0.5346 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.8052, allocations: 3.984 kB / 0.5347 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/0.8077, allocations: 299.5 kB / 0.5349 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004406/0.8121, allocations: 0.9192 MB / 0.5358 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004258/0.8125, allocations: 43.97 kB / 0.5359 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3145/1.127, allocations: 13.64 MB / 0.5492 GB, free: 91.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.659e-05/1.127, allocations: 7.469 kB / 0.5492 GB, free: 91.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.138, allocations: 4.834 MB / 0.5539 GB, free: 89.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.141, allocations: 495 kB / 0.5544 GB, free: 89.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008102/1.141, allocations: 39.59 kB / 0.5544 GB, free: 89.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.144, allocations: 120.8 kB / 0.5546 GB, free: 89.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/1.144, allocations: 158.7 kB / 0.5547 GB, free: 89.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.145, allocations: 51.66 kB / 0.5548 GB, free: 89.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003245/1.148, allocations: 1.462 MB / 0.5562 GB, free: 88.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.148, allocations: 0 / 0.5562 GB, free: 88.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003922/1.152, allocations: 0.7103 MB / 0.5569 GB, free: 88.82 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.0006564/1.152, allocations: 209.6 kB / 0.5571 GB, free: 88.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007436/1.16, allocations: 3.337 MB / 0.5603 GB, free: 85.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.16, allocations: 0 / 0.5603 GB, free: 85.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005139/1.165, allocations: 2.356 MB / 0.5626 GB, free: 83.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/1.17, allocations: 0.6125 MB / 0.5632 GB, free: 83.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.185, allocations: 6.86 MB / 0.5699 GB, free: 76.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.188, allocations: 1.975 MB / 0.5719 GB, free: 74.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002638/1.19, allocations: 0.5616 MB / 0.5724 GB, free: 73.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/1.191, allocations: 151.4 kB / 0.5726 GB, free: 73.78 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/1.191, allocations: 0 / 0.5726 GB, free: 73.78 MB / 446.1 MB Notification: Performance of Templates: time 0.1013/1.293, allocations: 45.71 MB / 0.6172 GB, free: 28.59 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.220184186997358]