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.002723/0.002723, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002578/0.002578, allocations: 149.1 kB / 24.26 MB, free: 168 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.528/1.528, allocations: 173.3 MB / 200.8 MB, free: 9.316 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.374e-06/2.374e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.93e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0182/0.01824, allocations: 11.63 MB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009079/0.02732, allocations: 3.696 MB / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.02961, allocations: 87.44 kB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.03253, allocations: 0.8654 MB / 283.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.03685, allocations: 1.176 MB / 284.8 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.03828, allocations: 495.2 kB / 285.3 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00734/0.04562, allocations: 4.372 MB / 289.6 MB, free: 324 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1467/0.1924, allocations: 1.787 MB / 291.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004131/0.1965, allocations: 2.851 MB / 294.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/0.2002, allocations: 2.255 MB / 296.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.2013, allocations: 0.4952 MB / 297 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2027, allocations: 0.5869 MB / 297.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.2041, allocations: 1.475 MB / 299.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.2062, allocations: 1.541 MB / 300.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005252/0.2115, allocations: 6.693 MB / 307.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2115, allocations: 3.984 kB / 307.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2115, allocations: 0 / 307.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.2116, allocations: 0 / 307.3 MB, free: 12.56 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.008006/0.2196, allocations: 4.876 MB / 312.2 MB, free: 9.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2196, allocations: 15.12 kB / 312.2 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.2209, allocations: 0.6957 MB / 312.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004062/0.225, allocations: 2.257 MB / 315.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.2251, allocations: 233.2 kB / 315.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.2255, allocations: 308.2 kB / 315.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005785/0.2313, allocations: 4.355 MB / 320.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.832e-05/0.2314, allocations: 7.953 kB / 320.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.2316, allocations: 128 kB / 320.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.426e-05/0.2317, allocations: 134 kB / 320.3 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005069/0.2368, allocations: 2.975 MB / 323.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.2678, allocations: 16.5 MB / 339.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.2711, allocations: 1.603 MB / 341.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002686/0.2738, allocations: 1.197 MB / 342.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.2741, allocations: 61.28 kB / 342.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/0.2741, allocations: 54.7 kB / 342.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 3.857e-06/0.2742, allocations: 0 / 342.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.01611/0.2903, allocations: 5.807 MB / 348.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.2903, allocations: 73.41 kB / 348.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/0.2947, allocations: 2.543 MB / 351.1 MB, free: 3.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.2949, allocations: 57.7 kB / 351.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/0.2969, allocations: 1.729 MB / 352.9 MB, free: 1.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009118/0.2978, allocations: 0.6902 MB / 353.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008809/0.2987, allocations: 453.1 kB / 354 MB, free: 180 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.299, allocations: 476.8 kB / 354.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.3005, allocations: 0.6587 MB / 355.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.3027, allocations: 1.36 MB / 356.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/0.3068, allocations: 2.182 MB / 358.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.3069, allocations: 4 kB / 358.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006109/0.313, allocations: 2.622 MB / 361.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.313, allocations: 11.47 kB / 361.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.313, allocations: 12.5 kB / 361.4 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/0.3158, allocations: 0.6652 MB / 362 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.3178, allocations: 453.5 kB / 362.5 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.3316, allocations: 11.38 MB / 373.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.3337, allocations: 123.9 kB / 374 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/0.334, allocations: 79.98 kB / 374 MB, free: 11.27 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.001927/0.3359, allocations: 0.8965 MB / 374.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008182/0.3367, allocations: 318.2 kB / 375.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.342, allocations: 2.201 MB / 377.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.342, allocations: 20 kB / 377.5 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.342, allocations: 4 kB / 377.5 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.342, allocations: 10.97 kB / 377.5 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.3554, allocations: 5.746 MB / 383.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.3554, allocations: 4 kB / 383.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.3568, allocations: 297.8 kB / 383.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/0.3599, allocations: 0.7751 MB / 384.3 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.36, allocations: 39.98 kB / 384.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/0.3763, allocations: 15.1 MB / 399.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3763, allocations: 3.844 kB / 399.4 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007456/0.3838, allocations: 3.183 MB / 402.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/0.3854, allocations: 454.3 kB / 403.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/0.3858, allocations: 43.98 kB / 403.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.3871, allocations: 115.9 kB / 403.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/0.3876, allocations: 165.5 kB / 403.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.3877, allocations: 51.98 kB / 403.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002588/0.3903, allocations: 1.483 MB / 404.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3903, allocations: 0 / 404.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002352/0.3927, allocations: 0.7069 MB / 405.6 MB, free: 10.74 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.0004691/0.3931, allocations: 221.1 kB / 405.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005399/0.3985, allocations: 2.897 MB / 408.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.3985, allocations: 4 kB / 408.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00404/0.4026, allocations: 2.394 MB / 411.1 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.4059, allocations: 0.6147 MB / 411.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.4175, allocations: 6.034 MB / 417.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/0.42, allocations: 1.822 MB / 419.6 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001671/0.4217, allocations: 454.9 kB / 420.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.4222, allocations: 152.5 kB / 420.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4222, allocations: 0 / 420.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of Templates: time 0.1894/0.6116, allocations: 40.84 MB / 461 MB, free: 106.8 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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.469946612953208]