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.001463/0.001463, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001608/0.001608, allocations: 153.4 kB / 24.26 MB, free: 180 kB / 18.57 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.508/1.508, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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 2.244e-06/2.244e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.439e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.02191/0.02194, allocations: 10.38 MB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.03379, allocations: 3.583 MB / 281.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/0.03721, allocations: 91.44 kB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00341/0.04062, allocations: 0.8693 MB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.04579, allocations: 1.18 MB / 283.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.04773, allocations: 491.3 kB / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007649/0.05537, allocations: 4.368 MB / 288.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1407/0.196, allocations: 1.784 MB / 290.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00487/0.2009, allocations: 2.826 MB / 292.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.2047, allocations: 2.083 MB / 295 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.2059, allocations: 0.4957 MB / 295.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.2075, allocations: 0.584 MB / 296.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.2092, allocations: 1.454 MB / 297.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002728/0.2119, allocations: 1.527 MB / 299 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.219, allocations: 6.662 MB / 305.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.219, allocations: 1.562 kB / 305.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.219, allocations: 3.188 kB / 305.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001796/0.2191, allocations: 0 / 305.7 MB, free: 13.41 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008687/0.2278, allocations: 4.288 MB / 310 MB, free: 10.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2279, allocations: 7.391 kB / 310 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.2293, allocations: 0.6997 MB / 310.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.2331, allocations: 2.439 MB / 313.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.2333, allocations: 232.5 kB / 313.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.2337, allocations: 313 kB / 313.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006486/0.2402, allocations: 4.591 MB / 318.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.63e-05/0.2403, allocations: 19.59 kB / 318.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.2406, allocations: 124 kB / 318.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.2407, allocations: 134 kB / 318.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.2461, allocations: 3.769 MB / 322.3 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02639/0.2725, allocations: 11.92 MB / 334.2 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/0.2766, allocations: 2.077 MB / 336.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/0.2799, allocations: 1.571 MB / 337.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.2802, allocations: 61.28 kB / 337.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/0.2803, allocations: 51.88 kB / 338 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 3.877e-06/0.2803, allocations: 3.938 kB / 338 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.02257/0.3028, allocations: 8.538 MB / 346.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.3029, allocations: 77.39 kB / 346.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005182/0.3081, allocations: 2.128 MB / 348.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004203/0.3085, allocations: 61.69 kB / 348.8 MB, free: 5.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.3103, allocations: 1.506 MB / 350.3 MB, free: 4.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.3115, allocations: 0.6278 MB / 350.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.3126, allocations: 363.5 kB / 351.3 MB, free: 3.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3128, allocations: 305.1 kB / 351.6 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.3152, allocations: 1.12 MB / 352.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.3181, allocations: 1.566 MB / 354.3 MB, free: 156 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/0.3233, allocations: 2.788 MB / 357 MB, free: 13.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.128e-05/0.3234, allocations: 7.938 kB / 357.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.009013/0.3324, allocations: 3.668 MB / 360.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.3324, allocations: 8 kB / 360.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.3324, allocations: 12 kB / 360.7 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003346/0.3358, allocations: 0.9252 MB / 361.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.338, allocations: 457.8 kB / 362.1 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.3526, allocations: 10.5 MB / 372.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.3549, allocations: 119.9 kB / 372.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003942/0.3553, allocations: 83.97 kB / 372.8 MB, free: 13.09 MB / 330.7 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.002791/0.3581, allocations: 1.088 MB / 373.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/0.3591, allocations: 306.4 kB / 374.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007123/0.3662, allocations: 3.266 MB / 377.5 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.3663, allocations: 20 kB / 377.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/0.3663, allocations: 4 kB / 377.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.3663, allocations: 7.969 kB / 377.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.3807, allocations: 6.05 MB / 383.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.3807, allocations: 4 kB / 383.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.3822, allocations: 299.7 kB / 383.8 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/0.3857, allocations: 1.039 MB / 384.9 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/0.3859, allocations: 39.98 kB / 384.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/0.4037, allocations: 13.68 MB / 398.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4037, allocations: 0 / 398.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009955/0.4137, allocations: 4.908 MB / 403.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.4153, allocations: 491.1 kB / 404 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005922/0.4159, allocations: 39.98 kB / 404 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.4174, allocations: 119.9 kB / 404.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004813/0.4179, allocations: 165.1 kB / 404.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.4181, allocations: 47.98 kB / 404.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002988/0.421, allocations: 1.456 MB / 405.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.421, allocations: 0 / 405.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002677/0.4237, allocations: 0.703 MB / 406.5 MB, free: 10.66 MB / 362.7 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.0005174/0.4242, allocations: 212.7 kB / 406.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00647/0.4307, allocations: 3.328 MB / 410.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4307, allocations: 3.188 kB / 410.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.4349, allocations: 2.356 MB / 412.4 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.4381, allocations: 0.628 MB / 413 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.4514, allocations: 6.741 MB / 419.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/0.4543, allocations: 1.974 MB / 421.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002024/0.4563, allocations: 0.5615 MB / 422.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/0.457, allocations: 156.5 kB / 422.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.457, allocations: 0 / 422.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of Templates: time 0.1703/0.6274, allocations: 40.72 MB / 463.2 MB, free: 109.5 MB / 378.7 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.356650162953883]