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.001628/0.001628, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001918/0.001918, allocations: 209.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001536/0.001536, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2339, allocations: 53.36 MB / 432.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01367/0.2476, allocations: 10.41 MB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007433/0.255, allocations: 3.639 MB / 446.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.2568, allocations: 91.38 kB / 446.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.2591, allocations: 0.8655 MB / 447.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.2625, allocations: 1.158 MB / 448.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2636, allocations: 0.4954 MB / 449 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005152/0.2688, allocations: 4.237 MB / 453.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.2714, allocations: 1.845 MB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.2744, allocations: 1.963 MB / 457 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/0.2784, allocations: 2.394 MB / 459.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009201/0.2793, allocations: 0.4961 MB / 459.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.2807, allocations: 0.6014 MB / 460.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.2823, allocations: 1.414 MB / 462 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.2851, allocations: 1.786 MB / 463.7 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007243/0.2924, allocations: 6.63 MB / 470.4 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2924, allocations: 0 / 470.4 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2924, allocations: 0 / 470.4 MB, free: 448 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.2925, allocations: 0 / 470.4 MB, free: 448 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.009601/0.3021, allocations: 4.35 MB / 474.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3022, allocations: 16.03 kB / 474.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.3036, allocations: 490.2 kB / 475.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/0.3091, allocations: 2.352 MB / 477.6 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.3094, allocations: 234.1 kB / 477.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007417/0.3101, allocations: 315.9 kB / 478.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008556/0.3187, allocations: 4.595 MB / 482.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.914e-05/0.3187, allocations: 19.83 kB / 482.7 MB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.3191, allocations: 120 kB / 482.8 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.3192, allocations: 130 kB / 483 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006953/0.3262, allocations: 3.771 MB / 486.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02261/0.3488, allocations: 11.73 MB / 498.5 MB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.3522, allocations: 2.094 MB / 0.4888 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002876/0.3551, allocations: 1.551 MB / 0.4903 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.3553, allocations: 53.27 kB / 0.4904 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.3554, allocations: 51.88 kB / 0.4904 GB, free: 0 / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.166e-06/0.3554, allocations: 0 / 0.4904 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01888/0.3743, allocations: 8.488 MB / 0.4987 GB, free: 7.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3743, allocations: 69.41 kB / 0.4988 GB, free: 7.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/0.3778, allocations: 2.149 MB / 0.5009 GB, free: 5.188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.3781, allocations: 61.7 kB / 0.501 GB, free: 5.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.3794, allocations: 1.511 MB / 0.5024 GB, free: 3.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007381/0.3801, allocations: 0.6352 MB / 0.5031 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/0.3808, allocations: 367.5 kB / 0.5034 GB, free: 2.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3809, allocations: 305.1 kB / 0.5037 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.3828, allocations: 1.128 MB / 0.5048 GB, free: 1.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.385, allocations: 1.57 MB / 0.5063 GB, free: 15.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.3892, allocations: 2.78 MB / 0.509 GB, free: 12.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.3892, allocations: 4 kB / 0.509 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006852/0.396, allocations: 3.582 MB / 0.5125 GB, free: 8.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3961, allocations: 12 kB / 0.5126 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.3961, allocations: 12 kB / 0.5126 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.3984, allocations: 0.8004 MB / 0.5133 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.4005, allocations: 463.2 kB / 0.5138 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.4128, allocations: 10.47 MB / 0.524 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.415, allocations: 123.8 kB / 0.5241 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/0.4153, allocations: 79.98 kB / 0.5242 GB, free: 12.38 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.002262/0.4176, allocations: 1.104 MB / 0.5253 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.4182, allocations: 238.5 kB / 0.5255 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006243/0.4245, allocations: 3.272 MB / 0.5287 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.4245, allocations: 19.94 kB / 0.5287 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.4245, allocations: 8 kB / 0.5287 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/0.4246, allocations: 7.969 kB / 0.5287 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.4375, allocations: 6.055 MB / 0.5347 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4376, allocations: 224 / 0.5347 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.4389, allocations: 303.5 kB / 0.5349 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/0.4414, allocations: 0.9158 MB / 0.5358 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.4416, allocations: 39.98 kB / 0.5359 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2195/0.6611, allocations: 13.64 MB / 0.5492 GB, free: 90.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6611, allocations: 2.719 kB / 0.5492 GB, free: 90.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/0.6671, allocations: 4.831 MB / 0.5539 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.6685, allocations: 0.4886 MB / 0.5544 GB, free: 88.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.6688, allocations: 38.94 kB / 0.5544 GB, free: 88.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.67, allocations: 120.7 kB / 0.5545 GB, free: 88.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.6704, allocations: 159.7 kB / 0.5547 GB, free: 88.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-05/0.6705, allocations: 50.77 kB / 0.5547 GB, free: 88.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.6722, allocations: 1.468 MB / 0.5562 GB, free: 88.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.6722, allocations: 0 / 0.5562 GB, free: 88.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001965/0.6741, allocations: 0.7005 MB / 0.5569 GB, free: 87.96 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.0003931/0.6745, allocations: 208.6 kB / 0.5571 GB, free: 87.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00407/0.6786, allocations: 3.338 MB / 0.5603 GB, free: 84.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6786, allocations: 4 kB / 0.5603 GB, free: 84.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.6812, allocations: 2.352 MB / 0.5626 GB, free: 82.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.6839, allocations: 0.6204 MB / 0.5632 GB, free: 82.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008566/0.6925, allocations: 6.865 MB / 0.5699 GB, free: 75.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.694, allocations: 1.939 MB / 0.5718 GB, free: 73.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007636/0.6948, allocations: 159.4 kB / 0.572 GB, free: 73.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6948, allocations: 3.938 kB / 0.572 GB, free: 73.47 MB / 446.1 MB Notification: Performance of Templates: time 0.1584/0.8531, allocations: 168.3 MB / 0.7363 GB, free: 1.121 MB / 0.5294 GB " [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/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_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: 16.557480026996927]