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.001872/0.001872, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.00228/0.00228, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.489/1.489, allocations: 225.6 MB / 252.5 MB, free: 13 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.001522/0.001522, allocations: 39.92 kB / 370.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3245, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01675/0.3412, allocations: 11.93 MB / 435.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009356/0.3506, allocations: 3.759 MB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.3531, allocations: 91.38 kB / 438.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.3562, allocations: 0.916 MB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004343/0.3605, allocations: 1.146 MB / 441 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3624, allocations: 0.4914 MB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007494/0.3698, allocations: 4.234 MB / 445.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00406/0.3739, allocations: 1.837 MB / 447.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003888/0.3778, allocations: 1.947 MB / 449.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005487/0.3833, allocations: 2.394 MB / 451.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002/0.3853, allocations: 0.496 MB / 452.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.3881, allocations: 0.5858 MB / 453 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.3911, allocations: 1.406 MB / 454.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006511/0.3976, allocations: 2.213 MB / 456.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.4104, allocations: 6.563 MB / 463.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4104, allocations: 0 / 463.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4104, allocations: 0 / 463.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002926/0.4107, allocations: 4 kB / 463.1 MB, free: 6.438 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.01521/0.4259, allocations: 4.343 MB / 467.5 MB, free: 2.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4259, allocations: 8.031 kB / 467.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.4284, allocations: 454.3 kB / 467.9 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006502/0.4349, allocations: 2.347 MB / 470.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.4352, allocations: 234.2 kB / 470.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.4364, allocations: 304 kB / 470.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.4507, allocations: 4.373 MB / 475.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002676/0.4509, allocations: 7.953 kB / 475.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/0.4522, allocations: 124 kB / 475.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.4524, allocations: 130 kB / 475.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009639/0.4621, allocations: 3.783 MB / 479.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.4925, allocations: 13.24 MB / 492.5 MB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/0.4966, allocations: 2.1 MB / 494.6 MB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.4999, allocations: 1.563 MB / 496.1 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.5002, allocations: 53.27 kB / 496.2 MB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.184e-05/0.5003, allocations: 47.88 kB / 496.2 MB, free: 4.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.348e-06/0.5003, allocations: 0 / 496.2 MB, free: 4.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02212/0.5224, allocations: 8.491 MB / 0.4929 GB, free: 12.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.5225, allocations: 81.34 kB / 0.493 GB, free: 12.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005273/0.5277, allocations: 2.361 MB / 0.4953 GB, free: 9.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003364/0.5281, allocations: 57.7 kB / 0.4953 GB, free: 9.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.5297, allocations: 1.493 MB / 0.4968 GB, free: 8.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008937/0.5306, allocations: 0.6352 MB / 0.4974 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008197/0.5314, allocations: 363.5 kB / 0.4977 GB, free: 7.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5315, allocations: 305.1 kB / 0.498 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.5337, allocations: 1.132 MB / 0.4991 GB, free: 5.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/0.5361, allocations: 1.57 MB / 0.5007 GB, free: 4.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.5409, allocations: 2.784 MB / 0.5034 GB, free: 1.051 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.5409, allocations: 7.938 kB / 0.5034 GB, free: 1.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007496/0.5484, allocations: 3.586 MB / 0.5069 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.5484, allocations: 11.94 kB / 0.5069 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/0.5485, allocations: 16 kB / 0.5069 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.5508, allocations: 0.8055 MB / 0.5077 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.5528, allocations: 463.2 kB / 0.5082 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.5656, allocations: 10.65 MB / 0.5186 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.5679, allocations: 127.9 kB / 0.5187 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.5683, allocations: 79.92 kB / 0.5188 GB, free: 0.6953 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.002341/0.5706, allocations: 1.091 MB / 0.5198 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/0.5714, allocations: 262.3 kB / 0.5201 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006954/0.5783, allocations: 3.285 MB / 0.5233 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.5783, allocations: 20 kB / 0.5233 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.608e-05/0.5784, allocations: 8 kB / 0.5233 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.5784, allocations: 11.95 kB / 0.5233 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.5938, allocations: 6.8 MB / 0.53 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.5938, allocations: 8.219 kB / 0.53 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.5952, allocations: 295.6 kB / 0.5303 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/0.5979, allocations: 0.9275 MB / 0.5312 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.5981, allocations: 43.98 kB / 0.5312 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2111/0.8091, allocations: 13.9 MB / 0.5448 GB, free: 98.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.8091, allocations: 11.72 kB / 0.5448 GB, free: 98.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/0.8156, allocations: 4.845 MB / 0.5495 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.8172, allocations: 0.5138 MB / 0.55 GB, free: 96.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/0.8176, allocations: 36.75 kB / 0.5501 GB, free: 96.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.8189, allocations: 123.9 kB / 0.5502 GB, free: 96.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.8194, allocations: 156.8 kB / 0.5503 GB, free: 96.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.8195, allocations: 49.67 kB / 0.5504 GB, free: 96.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002099/0.8216, allocations: 1.63 MB / 0.552 GB, free: 95.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8216, allocations: 0 / 0.552 GB, free: 95.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00196/0.8236, allocations: 0.7052 MB / 0.5526 GB, free: 95.88 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.0004033/0.824, allocations: 216.5 kB / 0.5529 GB, free: 95.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0041/0.8281, allocations: 3.331 MB / 0.5561 GB, free: 94.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8281, allocations: 0 / 0.5561 GB, free: 94.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002703/0.8308, allocations: 2.352 MB / 0.5584 GB, free: 92.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.8336, allocations: 0.7157 MB / 0.5591 GB, free: 91.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008222/0.8418, allocations: 6.887 MB / 0.5658 GB, free: 84.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.8435, allocations: 2.517 MB / 0.5683 GB, free: 82.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001639/0.8452, allocations: 0.5917 MB / 0.5689 GB, free: 81.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.8456, allocations: 159.4 kB / 0.569 GB, free: 81.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.8456, allocations: 0 / 0.569 GB, free: 81.6 MB / 446.1 MB Notification: Performance of Templates: time 0.0584/0.904, allocations: 42.32 MB / 0.6103 GB, free: 39.76 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.809022882953286]