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.0008345/0.0008345, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003484/0.003484, allocations: 157.6 kB / 24.7 MB, free: 8.902 MB / 18.57 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 0.8737/0.8737, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.823e-06/1.823e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.454e-05, allocations: 7.203 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.007681/0.007705, allocations: 10.42 MB / 336.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004992/0.0127, allocations: 3.654 MB / 339.9 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009377/0.01363, allocations: 91.38 kB / 340 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.01504, allocations: 0.8781 MB / 340.8 MB, free: 252 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.01677, allocations: 1.18 MB / 342 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.01736, allocations: 0.4992 MB / 342.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002522/0.01988, allocations: 4.418 MB / 346.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.02131, allocations: 1.779 MB / 348.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.02362, allocations: 2.858 MB / 351.6 MB, free: 5.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.02554, allocations: 2.089 MB / 353.7 MB, free: 3.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004434/0.02598, allocations: 0.4922 MB / 354.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.02668, allocations: 0.5897 MB / 354.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008519/0.02753, allocations: 1.453 MB / 356.2 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.02864, allocations: 1.528 MB / 357.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.03282, allocations: 6.68 MB / 364.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.03282, allocations: 0 / 364.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.03282, allocations: 4 kB / 364.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.029e-05/0.03291, allocations: 0 / 364.4 MB, free: 8.547 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.005403/0.03832, allocations: 4.297 MB / 368.7 MB, free: 4.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.03836, allocations: 19.98 kB / 368.7 MB, free: 4.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.03921, allocations: 494.2 kB / 369.2 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/0.04179, allocations: 2.359 MB / 371.6 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.04191, allocations: 238.5 kB / 371.8 MB, free: 1.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.04221, allocations: 308.1 kB / 372.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/0.04672, allocations: 4.607 MB / 376.7 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.04677, allocations: 11.89 kB / 376.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.04696, allocations: 127.9 kB / 376.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.887e-05/0.04704, allocations: 126 kB / 377 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.05088, allocations: 3.771 MB / 380.7 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.06181, allocations: 11.73 MB / 392.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.0637, allocations: 2.101 MB / 394.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.06525, allocations: 1.559 MB / 396.1 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.0654, allocations: 49.27 kB / 396.2 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.06542, allocations: 51.88 kB / 396.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=164): time 2.485e-06/0.06543, allocations: 0 / 396.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=180): time 0.009631/0.07506, allocations: 8.476 MB / 404.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.07509, allocations: 73.41 kB / 404.8 MB, free: 15.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.07698, allocations: 2.153 MB / 406.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.896e-05/0.07706, allocations: 61.7 kB / 407 MB, free: 13.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006619/0.07772, allocations: 1.515 MB / 408.5 MB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.07807, allocations: 0.6197 MB / 409.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/0.07846, allocations: 367.4 kB / 409.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.127e-05/0.07853, allocations: 305.1 kB / 409.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.07971, allocations: 1.124 MB / 410.9 MB, free: 9.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.08099, allocations: 1.57 MB / 412.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.08338, allocations: 2.784 MB / 415.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.08338, allocations: 4 kB / 415.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003452/0.08683, allocations: 3.571 MB / 418.8 MB, free: 1.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.08685, allocations: 15.94 kB / 418.8 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.08687, allocations: 12 kB / 418.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.08792, allocations: 0.802 MB / 419.7 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.0888, allocations: 459.3 kB / 420.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.095, allocations: 10.46 MB / 430.6 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.09584, allocations: 127.8 kB / 430.7 MB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.09594, allocations: 76 kB / 430.8 MB, free: 4.539 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.001339/0.09728, allocations: 1.098 MB / 431.9 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.0975, allocations: 250.4 kB / 432.1 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.1008, allocations: 3.264 MB / 435.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1008, allocations: 16 kB / 435.4 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1008, allocations: 8 kB / 435.4 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.1008, allocations: 11.97 kB / 435.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.1071, allocations: 6.044 MB / 441.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1071, allocations: 4.219 kB / 441.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.1077, allocations: 295.5 kB / 441.7 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.1089, allocations: 0.9236 MB / 442.7 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.038e-05/0.109, allocations: 39.98 kB / 442.7 MB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1489/0.2579, allocations: 13.63 MB / 456.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2579, allocations: 6.938 kB / 456.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004359/0.2623, allocations: 4.844 MB / 461.2 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.2629, allocations: 496.5 kB / 461.7 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.2631, allocations: 40.72 kB / 461.7 MB, free: 107 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.2637, allocations: 117.7 kB / 461.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.2639, allocations: 164.4 kB / 462 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.264, allocations: 46.75 kB / 462 MB, free: 106.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001224/0.2652, allocations: 1.462 MB / 463.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2652, allocations: 3.75 kB / 463.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001186/0.2664, allocations: 0.7053 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.0002839/0.2667, allocations: 203 kB / 464.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.2692, allocations: 3.334 MB / 467.7 MB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2692, allocations: 0 / 467.7 MB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.2707, allocations: 2.342 MB / 470.1 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.272, allocations: 0.6195 MB / 470.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.2772, allocations: 6.665 MB / 477.4 MB, free: 94.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.2783, allocations: 1.936 MB / 479.3 MB, free: 92.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.2786, allocations: 160.5 kB / 479.5 MB, free: 92.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.2786, allocations: 4 kB / 479.5 MB, free: 92.55 MB / 410.7 MB Notification: Performance of Templates: time 0.2077/0.4863, allocations: 168.3 MB / 0.6326 GB, free: 162.8 MB / 474.7 MB " [Timeout remaining time 660] 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 -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/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_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: 10.250564478337765]