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.00134/0.00134, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001449/0.001449, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.459/1.459, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.001944/0.001944, allocations: 59.91 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2622, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01373/0.2759, allocations: 10.43 MB / 442.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007808/0.2837, allocations: 3.635 MB / 446.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.2858, allocations: 91.38 kB / 446.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.2885, allocations: 0.874 MB / 447.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.2923, allocations: 1.154 MB / 448.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.2937, allocations: 0.4954 MB / 449.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00533/0.299, allocations: 4.261 MB / 453.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.3017, allocations: 1.782 MB / 455.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.3046, allocations: 1.97 MB / 457.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/0.3084, allocations: 2.312 MB / 459.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009465/0.3094, allocations: 0.4961 MB / 459.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.3108, allocations: 0.5936 MB / 460.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.3123, allocations: 1.41 MB / 461.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002713/0.315, allocations: 1.793 MB / 463.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007739/0.3227, allocations: 6.626 MB / 470.3 MB, free: 428 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3227, allocations: 3.938 kB / 470.3 MB, free: 424 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3227, allocations: 0 / 470.3 MB, free: 424 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001848/0.3229, allocations: 0 / 470.3 MB, free: 424 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.0101/0.333, allocations: 4.352 MB / 474.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3331, allocations: 11.98 kB / 474.7 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3345, allocations: 494.2 kB / 475.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.3396, allocations: 2.359 MB / 477.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.3398, allocations: 234.1 kB / 477.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.3405, allocations: 304 kB / 478.1 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008117/0.3486, allocations: 4.603 MB / 482.7 MB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-05/0.3487, allocations: 7.953 kB / 482.7 MB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.349, allocations: 124 kB / 482.8 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.3491, allocations: 130 kB / 482.9 MB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006971/0.3561, allocations: 3.775 MB / 486.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/0.3789, allocations: 11.73 MB / 498.4 MB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.3822, allocations: 2.078 MB / 0.4888 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/0.385, allocations: 1.559 MB / 0.4903 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.3852, allocations: 49.28 kB / 0.4903 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/0.3853, allocations: 59.88 kB / 0.4904 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.456e-06/0.3853, allocations: 0 / 0.4904 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01838/0.4037, allocations: 8.474 MB / 0.4987 GB, free: 7.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.4037, allocations: 73.41 kB / 0.4987 GB, free: 7.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/0.4073, allocations: 2.153 MB / 0.5008 GB, free: 5.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002799/0.4076, allocations: 57.7 kB / 0.5009 GB, free: 5.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.4088, allocations: 1.519 MB / 0.5024 GB, free: 3.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006668/0.4095, allocations: 0.6391 MB / 0.503 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006284/0.4101, allocations: 375.3 kB / 0.5034 GB, free: 2.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4102, allocations: 305.1 kB / 0.5037 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.4121, allocations: 1.124 MB / 0.5048 GB, free: 1.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.4143, allocations: 1.57 MB / 0.5063 GB, free: 15.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.4186, allocations: 2.784 MB / 0.509 GB, free: 12.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.4186, allocations: 4 kB / 0.509 GB, free: 12.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00636/0.425, allocations: 3.571 MB / 0.5125 GB, free: 8.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.425, allocations: 12.06 kB / 0.5125 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.425, allocations: 16 kB / 0.5125 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.4271, allocations: 0.8085 MB / 0.5133 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.4289, allocations: 459.3 kB / 0.5138 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.4413, allocations: 10.44 MB / 0.524 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.4436, allocations: 131.9 kB / 0.5241 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/0.4438, allocations: 80 kB / 0.5242 GB, free: 12.36 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.002138/0.4459, allocations: 1.094 MB / 0.5252 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/0.4465, allocations: 242.5 kB / 0.5255 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/0.4527, allocations: 3.272 MB / 0.5286 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4527, allocations: 16 kB / 0.5287 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4527, allocations: 8 kB / 0.5287 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.4527, allocations: 7.969 kB / 0.5287 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.4652, allocations: 6.052 MB / 0.5346 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4653, allocations: 4 kB / 0.5346 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.4665, allocations: 299.8 kB / 0.5349 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/0.469, allocations: 0.9266 MB / 0.5358 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.4691, allocations: 39.98 kB / 0.5358 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2105/0.6797, allocations: 13.65 MB / 0.5491 GB, free: 90.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6797, allocations: 4.891 kB / 0.5492 GB, free: 90.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.6856, allocations: 4.835 MB / 0.5539 GB, free: 88.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.6868, allocations: 494.8 kB / 0.5543 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/0.6871, allocations: 40.06 kB / 0.5544 GB, free: 88.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.6883, allocations: 121.2 kB / 0.5545 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/0.6886, allocations: 160.6 kB / 0.5547 GB, free: 88.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.6887, allocations: 48.2 kB / 0.5547 GB, free: 88.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001642/0.6903, allocations: 1.464 MB / 0.5561 GB, free: 88.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6903, allocations: 0 / 0.5561 GB, free: 88.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001761/0.6921, allocations: 0.7026 MB / 0.5568 GB, free: 87.87 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.0003714/0.6925, allocations: 212.2 kB / 0.557 GB, free: 87.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.6963, allocations: 3.332 MB / 0.5603 GB, free: 84.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6963, allocations: 3.688 kB / 0.5603 GB, free: 84.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.6989, allocations: 2.352 MB / 0.5626 GB, free: 82.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.7013, allocations: 0.6189 MB / 0.5632 GB, free: 82.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/0.7092, allocations: 6.878 MB / 0.5699 GB, free: 75.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.7107, allocations: 1.936 MB / 0.5718 GB, free: 73.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/0.7114, allocations: 159.4 kB / 0.5719 GB, free: 73.39 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7114, allocations: 0 / 0.5719 GB, free: 73.39 MB / 446.1 MB Notification: Performance of Templates: time 0.1707/0.8821, allocations: 168.3 MB / 0.7362 GB, free: 1.016 MB / 0.5294 GB " [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/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: 16.51048690965399]