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.002735/0.002735, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003112/0.003112, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.593/1.593, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 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 1.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.485e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01648/0.01651, allocations: 11.67 MB / 283.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007895/0.0244, allocations: 3.775 MB / 287.7 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.02612, allocations: 95.31 kB / 287.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.02839, allocations: 0.878 MB / 288.6 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.03216, allocations: 1.184 MB / 289.8 MB, free: 132 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1216/0.1537, allocations: 0.4974 MB / 290.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005294/0.159, allocations: 4.402 MB / 294.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.1625, allocations: 1.792 MB / 296.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.1675, allocations: 2.88 MB / 299.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.1711, allocations: 2.261 MB / 301.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.1721, allocations: 0.4949 MB / 302.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.1737, allocations: 0.5912 MB / 302.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.1748, allocations: 1.477 MB / 304.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.177, allocations: 1.543 MB / 305.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.1821, allocations: 6.719 MB / 312.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1821, allocations: 0 / 312.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1821, allocations: 0 / 312.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001492/0.1822, allocations: 4.594 kB / 312.5 MB, free: 7.418 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.009435/0.1917, allocations: 4.894 MB / 317.4 MB, free: 2.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.1917, allocations: 11.98 kB / 317.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.1934, allocations: 0.7324 MB / 318.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004946/0.1984, allocations: 2.272 MB / 320.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.1987, allocations: 233.9 kB / 320.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008833/0.1995, allocations: 308.7 kB / 320.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.2104, allocations: 4.356 MB / 325.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.2106, allocations: 8.844 kB / 325.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000442/0.211, allocations: 127 kB / 325.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.2112, allocations: 134 kB / 325.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008137/0.2193, allocations: 2.981 MB / 328.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03454/0.2539, allocations: 16.47 MB / 345 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.2571, allocations: 1.598 MB / 346.6 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.2599, allocations: 1.189 MB / 347.8 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.2601, allocations: 61.28 kB / 347.8 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/0.2602, allocations: 57.98 kB / 347.9 MB, free: 3.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 3.857e-06/0.2602, allocations: 4 kB / 347.9 MB, free: 3.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.01645/0.2767, allocations: 5.807 MB / 353.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.2767, allocations: 73.41 kB / 353.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004866/0.2816, allocations: 2.56 MB / 356.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/0.2819, allocations: 53.7 kB / 356.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.2837, allocations: 1.738 MB / 358.1 MB, free: 9.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009208/0.2847, allocations: 0.6912 MB / 358.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008626/0.2855, allocations: 449.1 kB / 359.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00026/0.2858, allocations: 480.8 kB / 359.7 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.2873, allocations: 0.6597 MB / 360.4 MB, free: 6.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.2895, allocations: 1.367 MB / 361.7 MB, free: 5.219 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/0.2936, allocations: 2.177 MB / 363.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.2936, allocations: 4 kB / 363.9 MB, free: 2.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006172/0.2998, allocations: 2.617 MB / 366.5 MB, free: 300 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.2998, allocations: 12 kB / 366.5 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.2999, allocations: 15.98 kB / 366.6 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.3026, allocations: 0.6778 MB / 367.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.3045, allocations: 455 kB / 367.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.318, allocations: 11.36 MB / 379.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.3201, allocations: 123.8 kB / 379.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.3203, allocations: 76 kB / 379.2 MB, free: 3.035 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.001991/0.3223, allocations: 0.8947 MB / 380.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007688/0.3231, allocations: 313.9 kB / 380.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005365/0.3285, allocations: 2.213 MB / 382.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.3285, allocations: 20 kB / 382.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.3285, allocations: 8 kB / 382.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.3285, allocations: 7.969 kB / 382.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.3422, allocations: 5.765 MB / 388.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3422, allocations: 0 / 388.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.3436, allocations: 296.9 kB / 388.8 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.3466, allocations: 0.7704 MB / 389.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.3468, allocations: 39.98 kB / 389.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01795/0.3647, allocations: 15.11 MB / 404.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.3647, allocations: 4 kB / 404.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.3755, allocations: 3.178 MB / 407.9 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/0.3781, allocations: 466.4 kB / 408.3 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008185/0.3789, allocations: 35.98 kB / 408.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/0.381, allocations: 115.9 kB / 408.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/0.3817, allocations: 164.9 kB / 408.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/0.3819, allocations: 47.98 kB / 408.7 MB, free: 4.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004183/0.3861, allocations: 1.507 MB / 410.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3861, allocations: 0 / 410.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004809/0.3909, allocations: 0.7031 MB / 410.9 MB, free: 2.469 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.0009157/0.3918, allocations: 205.1 kB / 411.1 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009998/0.4018, allocations: 2.899 MB / 414 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.4018, allocations: 4 kB / 414 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007078/0.4089, allocations: 2.39 MB / 416.4 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006039/0.4149, allocations: 0.6405 MB / 417 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.434, allocations: 6.052 MB / 423.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/0.4381, allocations: 1.83 MB / 424.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00315/0.4413, allocations: 459.1 kB / 425.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.4423, allocations: 152.5 kB / 425.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4423, allocations: 0 / 425.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of Templates: time 0.2199/0.6622, allocations: 41.03 MB / 466.5 MB, free: 92.75 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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: 6.457484601996839]