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.000761/0.000761, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.002977/0.002977, allocations: 160.3 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8514/0.8514, allocations: 177.1 MB / 205 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.343e-06/1.343e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.546e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.008395/0.00842, allocations: 10.44 MB / 336.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005147/0.01357, allocations: 3.654 MB / 339.9 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.0143, allocations: 95.38 kB / 340 MB, free: 1.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.01552, allocations: 0.8702 MB / 340.9 MB, free: 312 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.01708, allocations: 1.18 MB / 342.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.01766, allocations: 0.5031 MB / 342.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002475/0.02013, allocations: 4.384 MB / 347 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.02162, allocations: 1.782 MB / 348.7 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.02393, allocations: 2.842 MB / 351.6 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.02572, allocations: 2.093 MB / 353.7 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.0261, allocations: 0.4961 MB / 354.2 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006208/0.02672, allocations: 0.5896 MB / 354.8 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007972/0.02752, allocations: 1.453 MB / 356.2 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.02857, allocations: 1.532 MB / 357.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004093/0.03266, allocations: 6.677 MB / 364.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.03266, allocations: 0 / 364.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.03266, allocations: 0 / 364.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.03271, allocations: 0 / 364.4 MB, free: 8.645 MB / 330.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.004711/0.03742, allocations: 4.305 MB / 368.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.03746, allocations: 12.03 kB / 368.7 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.0382, allocations: 498.2 kB / 369.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.04071, allocations: 2.359 MB / 371.6 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.04082, allocations: 226.5 kB / 371.8 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.04113, allocations: 312.1 kB / 372.1 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004528/0.04566, allocations: 4.607 MB / 376.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/0.04571, allocations: 7.953 kB / 376.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.04591, allocations: 124 kB / 376.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-05/0.046, allocations: 137.9 kB / 377 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.04983, allocations: 3.771 MB / 380.8 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.06109, allocations: 11.73 MB / 392.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.06319, allocations: 2.081 MB / 394.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.0648, allocations: 1.563 MB / 396.1 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.06497, allocations: 53.28 kB / 396.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.065, allocations: 51.88 kB / 396.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=164): time 3.196e-06/0.065, allocations: 0 / 396.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=180): time 0.01038/0.07538, allocations: 8.476 MB / 404.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.07542, allocations: 69.41 kB / 404.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.07765, allocations: 2.157 MB / 406.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.07774, allocations: 61.7 kB / 407 MB, free: 13.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009713/0.07871, allocations: 1.511 MB / 408.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.07906, allocations: 0.6275 MB / 409.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003897/0.07945, allocations: 363.4 kB / 409.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.07953, allocations: 305.1 kB / 409.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.08066, allocations: 1.124 MB / 410.9 MB, free: 9.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.08203, allocations: 1.57 MB / 412.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/0.08467, allocations: 2.784 MB / 415.3 MB, free: 4.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.08467, allocations: 4 kB / 415.3 MB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003651/0.08833, allocations: 3.575 MB / 418.8 MB, free: 1.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.08835, allocations: 8 kB / 418.9 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.08836, allocations: 16 kB / 418.9 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.08946, allocations: 0.802 MB / 419.7 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/0.09036, allocations: 459.3 kB / 420.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/0.09723, allocations: 10.47 MB / 430.6 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009415/0.09817, allocations: 123.8 kB / 430.7 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.09827, allocations: 83.97 kB / 430.8 MB, free: 4.621 MB / 394.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.001533/0.0998, allocations: 1.093 MB / 431.9 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.1001, allocations: 242.5 kB / 432.1 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.1033, allocations: 3.264 MB / 435.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.1034, allocations: 23.98 kB / 435.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1034, allocations: 4.062 kB / 435.4 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.1034, allocations: 11.97 kB / 435.4 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006437/0.1098, allocations: 6.04 MB / 441.5 MB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.1098, allocations: 8.219 kB / 441.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.1104, allocations: 295.6 kB / 441.8 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.1117, allocations: 0.9158 MB / 442.7 MB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.1117, allocations: 39.98 kB / 442.7 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1716/0.2833, allocations: 13.63 MB / 456.4 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2833, allocations: 5.156 kB / 456.4 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/0.2901, allocations: 4.84 MB / 461.2 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.2916, allocations: 493.8 kB / 461.7 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.2919, allocations: 44.88 kB / 461.7 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/0.2926, allocations: 118 kB / 461.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.293, allocations: 159.6 kB / 462 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.2931, allocations: 50.77 kB / 462 MB, free: 106.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.2946, allocations: 1.466 MB / 463.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2946, allocations: 0 / 463.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001625/0.2963, allocations: 0.7047 MB / 464.2 MB, free: 106.3 MB / 410.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.0003544/0.2966, allocations: 206.2 kB / 464.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.2996, allocations: 3.334 MB / 467.8 MB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2996, allocations: 0 / 467.8 MB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.3013, allocations: 2.346 MB / 470.1 MB, free: 101.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.3027, allocations: 0.6184 MB / 470.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006702/0.3094, allocations: 6.671 MB / 477.4 MB, free: 94.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.3107, allocations: 1.928 MB / 479.3 MB, free: 92.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.3111, allocations: 168.5 kB / 479.5 MB, free: 92.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3111, allocations: 0 / 479.5 MB, free: 92.68 MB / 410.7 MB Notification: Performance of Templates: time 0.248/0.5591, allocations: 168.3 MB / 0.6326 GB, free: 162.7 MB / 474.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/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: 12.16402124799788]