Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 162.5 kB / 24.5 MB, free: 3.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 66.8 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1163, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01404/0.1304, allocations: 10.43 MB / 389.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009132/0.1395, allocations: 3.635 MB / 393 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.1428, allocations: 95.38 kB / 393.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.146, allocations: 0.8626 MB / 393.9 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.1507, allocations: 1.15 MB / 395.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1521, allocations: 0.4993 MB / 395.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005795/0.1579, allocations: 4.272 MB / 399.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.1606, allocations: 1.775 MB / 401.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.1637, allocations: 1.982 MB / 403.6 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.1681, allocations: 2.312 MB / 405.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.1692, allocations: 0.4922 MB / 406.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.1709, allocations: 0.6014 MB / 407 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.1725, allocations: 1.406 MB / 408.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.1756, allocations: 1.786 MB / 410.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008757/0.1844, allocations: 6.633 MB / 416.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.1844, allocations: 0 / 416.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1844, allocations: 3.938 kB / 416.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002306/0.1846, allocations: 0 / 416.9 MB, free: 9.316 MB / 382.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.01321/0.1979, allocations: 4.348 MB / 421.2 MB, free: 4.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.571e-05/0.1979, allocations: 11.98 kB / 421.2 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.1998, allocations: 486.2 kB / 421.7 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00561/0.2054, allocations: 2.363 MB / 424.1 MB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.2056, allocations: 230.2 kB / 424.3 MB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005417/0.2062, allocations: 315.9 kB / 424.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008332/0.2145, allocations: 4.591 MB / 429.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.449e-05/0.2146, allocations: 15.88 kB / 429.2 MB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/0.2149, allocations: 128 kB / 429.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.2151, allocations: 133.9 kB / 429.4 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007033/0.2221, allocations: 3.771 MB / 433.2 MB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/0.2492, allocations: 11.73 MB / 445 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/0.2535, allocations: 2.078 MB / 447 MB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.257, allocations: 1.559 MB / 448.6 MB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003165/0.2573, allocations: 49.22 kB / 448.6 MB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/0.2574, allocations: 55.88 kB / 448.7 MB, free: 8.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.218e-06/0.2574, allocations: 0 / 448.7 MB, free: 8.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.02238/0.2798, allocations: 8.489 MB / 457.2 MB, free: 340 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.2798, allocations: 73.41 kB / 457.3 MB, free: 252 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004805/0.2846, allocations: 2.149 MB / 459.4 MB, free: 14.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003451/0.285, allocations: 57.7 kB / 459.5 MB, free: 14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.2865, allocations: 1.523 MB / 461 MB, free: 12.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.2876, allocations: 0.6313 MB / 461.6 MB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.2888, allocations: 363.5 kB / 462 MB, free: 11.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.289, allocations: 309 kB / 462.3 MB, free: 11.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.2912, allocations: 1.12 MB / 463.4 MB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.294, allocations: 1.574 MB / 465 MB, free: 8.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004992/0.299, allocations: 2.78 MB / 467.7 MB, free: 5.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.299, allocations: 8 kB / 467.8 MB, free: 5.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007205/0.3062, allocations: 3.574 MB / 471.3 MB, free: 1.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.3062, allocations: 8 kB / 471.3 MB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.3063, allocations: 12 kB / 471.3 MB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/0.3085, allocations: 0.8172 MB / 472.2 MB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.3104, allocations: 459.2 kB / 472.6 MB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2641/0.5745, allocations: 10.44 MB / 483.1 MB, free: 75.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.577, allocations: 127.4 kB / 483.2 MB, free: 75.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.5771, allocations: 84.3 kB / 483.3 MB, free: 75.21 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.002236/0.5794, allocations: 1.088 MB / 484.4 MB, free: 74.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005496/0.5799, allocations: 240.3 kB / 484.6 MB, free: 74.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005891/0.5858, allocations: 3.27 MB / 487.9 MB, free: 73.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.5858, allocations: 16.84 kB / 487.9 MB, free: 73.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.5859, allocations: 9.406 kB / 487.9 MB, free: 73.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.5859, allocations: 16.48 kB / 487.9 MB, free: 73.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009717/0.5956, allocations: 6.049 MB / 493.9 MB, free: 71.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5956, allocations: 0 / 493.9 MB, free: 71.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.5968, allocations: 297.4 kB / 494.2 MB, free: 70.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.5988, allocations: 0.9184 MB / 495.2 MB, free: 70.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.5989, allocations: 38.94 kB / 495.2 MB, free: 70.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009995/0.6089, allocations: 13.67 MB / 0.4969 GB, free: 59.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6089, allocations: 3.828 kB / 0.4969 GB, free: 59.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006451/0.6154, allocations: 4.832 MB / 0.5017 GB, free: 54.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.6169, allocations: 497.1 kB / 0.5021 GB, free: 54.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.6172, allocations: 35.94 kB / 0.5022 GB, free: 54.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6184, allocations: 123.9 kB / 0.5023 GB, free: 54.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/0.6188, allocations: 165.6 kB / 0.5024 GB, free: 53.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.6189, allocations: 43.98 kB / 0.5025 GB, free: 53.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001879/0.6208, allocations: 1.468 MB / 0.5039 GB, free: 52.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6208, allocations: 0 / 0.5039 GB, free: 52.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002202/0.623, allocations: 0.705 MB / 0.5046 GB, free: 51.73 MB / 430.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.0003882/0.6234, allocations: 218.1 kB / 0.5048 GB, free: 51.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004385/0.6278, allocations: 3.333 MB / 0.5081 GB, free: 48.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6278, allocations: 0 / 0.5081 GB, free: 48.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002837/0.6306, allocations: 2.359 MB / 0.5104 GB, free: 45.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.6335, allocations: 0.6154 MB / 0.511 GB, free: 45.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008931/0.6424, allocations: 6.835 MB / 0.5176 GB, free: 38.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.644, allocations: 1.975 MB / 0.5196 GB, free: 36.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001489/0.6455, allocations: 0.5616 MB / 0.5201 GB, free: 35.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.646, allocations: 148.5 kB / 0.5203 GB, free: 35.51 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.646, allocations: 0 / 0.5203 GB, free: 35.51 MB / 430.1 MB Notification: Performance of Templates: time 0.05839/0.7044, allocations: 41.03 MB / 0.5603 GB, free: 10.83 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.41004783497192]