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.001367/0.001367, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001595/0.001595, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001603/0.001603, allocations: 51.94 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2954, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0132/0.3086, allocations: 10.42 MB / 442.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007462/0.316, allocations: 3.627 MB / 446.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.3174, allocations: 95.38 kB / 446.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.3195, allocations: 0.8701 MB / 447.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.3226, allocations: 1.154 MB / 448.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3236, allocations: 0.4915 MB / 449 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004885/0.3285, allocations: 4.241 MB / 453.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.3311, allocations: 1.782 MB / 455 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.3341, allocations: 1.967 MB / 457 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/0.3377, allocations: 2.304 MB / 459.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009462/0.3387, allocations: 0.4961 MB / 459.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.34, allocations: 0.5974 MB / 460.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.3415, allocations: 1.406 MB / 461.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002533/0.3441, allocations: 1.797 MB / 463.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007875/0.3519, allocations: 6.622 MB / 470.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3519, allocations: 0 / 470.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3519, allocations: 0 / 470.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001977/0.3521, allocations: 0 / 470.2 MB, free: 0.6758 MB / 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.01181/0.3639, allocations: 4.351 MB / 474.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.364, allocations: 12.03 kB / 474.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.3656, allocations: 494.1 kB / 475.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/0.371, allocations: 2.363 MB / 477.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.3712, allocations: 234.1 kB / 477.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007006/0.3719, allocations: 308 kB / 478 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008397/0.3803, allocations: 4.599 MB / 482.6 MB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.725e-05/0.3804, allocations: 11.89 kB / 482.6 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.3807, allocations: 124 kB / 482.7 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/0.3808, allocations: 134 kB / 482.8 MB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006951/0.3878, allocations: 3.767 MB / 486.6 MB, free: 56 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/0.4114, allocations: 11.74 MB / 498.3 MB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/0.4151, allocations: 2.075 MB / 0.4887 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.4181, allocations: 1.563 MB / 0.4902 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.4184, allocations: 49.28 kB / 0.4902 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.4184, allocations: 55.81 kB / 0.4903 GB, free: 236 kB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.118e-06/0.4184, allocations: 0 / 0.4903 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01966/0.4381, allocations: 8.474 MB / 0.4986 GB, free: 7.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.4382, allocations: 73.41 kB / 0.4986 GB, free: 7.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.4418, allocations: 2.153 MB / 0.5007 GB, free: 5.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.4421, allocations: 57.7 kB / 0.5008 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.4434, allocations: 1.519 MB / 0.5023 GB, free: 3.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/0.444, allocations: 0.6352 MB / 0.5029 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006562/0.4447, allocations: 367.5 kB / 0.5033 GB, free: 2.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4448, allocations: 305.1 kB / 0.5035 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.4468, allocations: 1.124 MB / 0.5046 GB, free: 1.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.4492, allocations: 1.574 MB / 0.5062 GB, free: 15.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/0.4538, allocations: 2.784 MB / 0.5089 GB, free: 12.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.4538, allocations: 4 kB / 0.5089 GB, free: 12.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006705/0.4605, allocations: 3.578 MB / 0.5124 GB, free: 9.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.4605, allocations: 8 kB / 0.5124 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.4606, allocations: 16 kB / 0.5124 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.4626, allocations: 0.8098 MB / 0.5132 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.4644, allocations: 459.3 kB / 0.5137 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.4767, allocations: 10.46 MB / 0.5239 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.4786, allocations: 123.8 kB / 0.524 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.4789, allocations: 76 kB / 0.5241 GB, free: 12.61 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.002077/0.4809, allocations: 1.096 MB / 0.5251 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005566/0.4815, allocations: 238.5 kB / 0.5254 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006151/0.4876, allocations: 3.268 MB / 0.5285 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.4877, allocations: 20 kB / 0.5286 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.4877, allocations: 4 kB / 0.5286 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.4877, allocations: 15.91 kB / 0.5286 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.5, allocations: 6.052 MB / 0.5345 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.5, allocations: 12.02 kB / 0.5345 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.5013, allocations: 295.5 kB / 0.5348 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002542/0.5039, allocations: 0.912 MB / 0.5357 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.5041, allocations: 43.98 kB / 0.5357 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2047/0.7087, allocations: 13.64 MB / 0.549 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7087, allocations: 7.188 kB / 0.5491 GB, free: 90.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006407/0.7151, allocations: 4.836 MB / 0.5538 GB, free: 89.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/0.7166, allocations: 498.3 kB / 0.5542 GB, free: 88.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.717, allocations: 38.95 kB / 0.5543 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7182, allocations: 121.9 kB / 0.5544 GB, free: 88.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/0.7186, allocations: 163.1 kB / 0.5546 GB, free: 88.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.7187, allocations: 47.12 kB / 0.5546 GB, free: 88.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001818/0.7205, allocations: 1.467 MB / 0.556 GB, free: 88.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7205, allocations: 0 / 0.556 GB, free: 88.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001886/0.7224, allocations: 0.7015 MB / 0.5567 GB, free: 88.18 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.0003626/0.7228, allocations: 200.9 kB / 0.5569 GB, free: 88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004046/0.7268, allocations: 3.332 MB / 0.5602 GB, free: 85.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7268, allocations: 0 / 0.5602 GB, free: 85.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.7295, allocations: 2.365 MB / 0.5625 GB, free: 82.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.7321, allocations: 0.6201 MB / 0.5631 GB, free: 82.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.7406, allocations: 6.881 MB / 0.5698 GB, free: 75.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.742, allocations: 1.932 MB / 0.5717 GB, free: 73.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006886/0.7427, allocations: 159.4 kB / 0.5718 GB, free: 73.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.7427, allocations: 0 / 0.5718 GB, free: 73.73 MB / 446.1 MB Notification: Performance of Templates: time 0.1539/0.8966, allocations: 168.3 MB / 0.7361 GB, free: 1.391 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: 15.920822376850992]