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.001248/0.001248, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 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.001556/0.001556, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.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.002192/0.002192, allocations: 67.89 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.256, allocations: 53.41 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01415/0.2702, allocations: 10.42 MB / 442.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008423/0.2786, allocations: 3.643 MB / 445.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.2806, allocations: 95.38 kB / 445.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.2828, allocations: 0.8626 MB / 446.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.2861, allocations: 1.146 MB / 447.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.2873, allocations: 0.4993 MB / 448.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005133/0.2924, allocations: 4.268 MB / 452.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.2949, allocations: 1.781 MB / 454.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.2976, allocations: 1.974 MB / 456.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.3011, allocations: 2.312 MB / 458.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007812/0.3018, allocations: 0.4961 MB / 459.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.303, allocations: 0.5897 MB / 459.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.3045, allocations: 1.414 MB / 461.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.3068, allocations: 1.789 MB / 462.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007613/0.3145, allocations: 6.626 MB / 469.6 MB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3145, allocations: 0 / 469.6 MB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3145, allocations: 0 / 469.6 MB, free: 404 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.3146, allocations: 0 / 469.6 MB, free: 404 kB / 366.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.01002/0.3246, allocations: 4.348 MB / 473.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3246, allocations: 19.98 kB / 473.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.3261, allocations: 490.2 kB / 474.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00535/0.3314, allocations: 2.363 MB / 476.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.3316, allocations: 226.2 kB / 477 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/0.3322, allocations: 312 kB / 477.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008436/0.3406, allocations: 4.595 MB / 481.9 MB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.249e-05/0.3407, allocations: 15.89 kB / 481.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/0.3411, allocations: 124 kB / 482 MB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001505/0.3412, allocations: 134 kB / 482.2 MB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007148/0.3483, allocations: 3.767 MB / 485.9 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.3721, allocations: 11.74 MB / 497.7 MB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/0.3757, allocations: 2.086 MB / 499.7 MB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/0.3787, allocations: 1.563 MB / 0.4896 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.3789, allocations: 49.28 kB / 0.4896 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.787e-05/0.379, allocations: 55.81 kB / 0.4897 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.308e-06/0.379, allocations: 0 / 0.4897 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.02021/0.3992, allocations: 8.478 MB / 0.4979 GB, free: 7.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.3993, allocations: 73.39 kB / 0.498 GB, free: 7.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/0.4029, allocations: 2.145 MB / 0.5001 GB, free: 5.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.4031, allocations: 61.7 kB / 0.5002 GB, free: 5.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.4044, allocations: 1.519 MB / 0.5016 GB, free: 3.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.405, allocations: 0.6351 MB / 0.5023 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006442/0.4056, allocations: 367.5 kB / 0.5026 GB, free: 2.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4058, allocations: 305.1 kB / 0.5029 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.4077, allocations: 1.128 MB / 0.504 GB, free: 1.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.41, allocations: 1.574 MB / 0.5055 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/0.4144, allocations: 2.784 MB / 0.5083 GB, free: 12.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.4144, allocations: 4 kB / 0.5083 GB, free: 12.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006801/0.4212, allocations: 3.578 MB / 0.5118 GB, free: 8.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.4212, allocations: 12 kB / 0.5118 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.4212, allocations: 12 kB / 0.5118 GB, free: 8.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/0.4233, allocations: 0.7981 MB / 0.5126 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.4251, allocations: 455.3 kB / 0.513 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.4369, allocations: 10.46 MB / 0.5232 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.4389, allocations: 123.8 kB / 0.5233 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.4391, allocations: 83.92 kB / 0.5234 GB, free: 12.32 MB / 446.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.002047/0.4411, allocations: 1.102 MB / 0.5245 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005557/0.4417, allocations: 238.5 kB / 0.5247 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/0.4478, allocations: 3.272 MB / 0.5279 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.4478, allocations: 16 kB / 0.5279 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.4478, allocations: 8 kB / 0.5279 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/0.4478, allocations: 15.95 kB / 0.528 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.4603, allocations: 6.048 MB / 0.5339 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.4604, allocations: 4.219 kB / 0.5339 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.4617, allocations: 299.5 kB / 0.5341 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002617/0.4643, allocations: 0.9189 MB / 0.535 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.4645, allocations: 39.98 kB / 0.5351 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.246/0.7105, allocations: 13.64 MB / 0.5484 GB, free: 90.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.7105, allocations: 6.406 kB / 0.5484 GB, free: 90.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007269/0.7178, allocations: 4.835 MB / 0.5531 GB, free: 88.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/0.7194, allocations: 492.3 kB / 0.5536 GB, free: 88.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.7198, allocations: 38.66 kB / 0.5536 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.721, allocations: 119.7 kB / 0.5538 GB, free: 88.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004333/0.7214, allocations: 166.7 kB / 0.5539 GB, free: 88.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7215, allocations: 46.92 kB / 0.554 GB, free: 88.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001957/0.7235, allocations: 1.462 MB / 0.5554 GB, free: 88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7235, allocations: 0 / 0.5554 GB, free: 88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002049/0.7256, allocations: 0.7001 MB / 0.5561 GB, free: 87.83 MB / 446.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.0004039/0.726, allocations: 218.4 kB / 0.5563 GB, free: 87.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004191/0.7301, allocations: 3.335 MB / 0.5595 GB, free: 84.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.7302, allocations: 4 kB / 0.5595 GB, free: 84.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002759/0.7329, allocations: 2.351 MB / 0.5618 GB, free: 82.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.7356, allocations: 0.6168 MB / 0.5624 GB, free: 82.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009432/0.745, allocations: 6.865 MB / 0.5691 GB, free: 75.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.7468, allocations: 1.971 MB / 0.5711 GB, free: 73.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001621/0.7484, allocations: 0.5616 MB / 0.5716 GB, free: 72.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.7488, allocations: 155.4 kB / 0.5718 GB, free: 72.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7488, allocations: 4 kB / 0.5718 GB, free: 72.74 MB / 446.1 MB Notification: Performance of Templates: time 0.05868/0.8075, allocations: 44.94 MB / 0.6157 GB, free: 28.25 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 -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: 6.397369273006916]