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.001355/0.001355, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001486/0.001486, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.472/1.472, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.002018/0.002018, allocations: 63.88 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2519, allocations: 53.41 MB / 432.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01489/0.2668, allocations: 11.97 MB / 444.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.2752, allocations: 3.849 MB / 448.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.2776, allocations: 87.44 kB / 448.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.2806, allocations: 0.9366 MB / 449.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.2849, allocations: 1.15 MB / 450.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.2866, allocations: 0.5032 MB / 450.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006807/0.2934, allocations: 4.273 MB / 455.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00378/0.2972, allocations: 1.841 MB / 457.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.3006, allocations: 1.967 MB / 459 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004348/0.3049, allocations: 2.398 MB / 461.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.3063, allocations: 0.4961 MB / 461.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.3083, allocations: 0.5975 MB / 462.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.3104, allocations: 1.414 MB / 463.9 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003689/0.3141, allocations: 2.213 MB / 466.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008503/0.3226, allocations: 6.596 MB / 472.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3226, allocations: 0 / 472.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3226, allocations: 4 kB / 472.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001545/0.3228, allocations: 0 / 472.7 MB, free: 14.28 MB / 382.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.01015/0.333, allocations: 4.34 MB / 477.1 MB, free: 9.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.333, allocations: 8.031 kB / 477.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.3344, allocations: 498.2 kB / 477.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004862/0.3393, allocations: 2.359 MB / 479.9 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.3395, allocations: 230.2 kB / 480.2 MB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005276/0.34, allocations: 304 kB / 480.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00796/0.348, allocations: 4.373 MB / 484.8 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.472e-05/0.3481, allocations: 11.89 kB / 484.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.3484, allocations: 132 kB / 485 MB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.3485, allocations: 134 kB / 485.1 MB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006596/0.3551, allocations: 3.771 MB / 488.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/0.3778, allocations: 13.25 MB / 0.4904 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.3811, allocations: 2.093 MB / 0.4924 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002854/0.3839, allocations: 1.559 MB / 0.4939 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.3842, allocations: 53.28 kB / 0.494 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.3843, allocations: 51.86 kB / 0.494 GB, free: 12.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.426e-06/0.3843, allocations: 0 / 0.494 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01849/0.4028, allocations: 8.509 MB / 0.5023 GB, free: 4.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.4028, allocations: 73.41 kB / 0.5024 GB, free: 3.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/0.4066, allocations: 2.374 MB / 0.5047 GB, free: 1.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.4068, allocations: 53.7 kB / 0.5048 GB, free: 1.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.4081, allocations: 1.509 MB / 0.5062 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006267/0.4088, allocations: 0.6313 MB / 0.5069 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00062/0.4094, allocations: 371.5 kB / 0.5072 GB, free: 14.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4095, allocations: 301.1 kB / 0.5075 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.4114, allocations: 1.124 MB / 0.5086 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.4137, allocations: 1.574 MB / 0.5101 GB, free: 11.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004468/0.4181, allocations: 2.78 MB / 0.5129 GB, free: 8.812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4181, allocations: 4 kB / 0.5129 GB, free: 8.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006711/0.4248, allocations: 3.593 MB / 0.5164 GB, free: 5.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.4249, allocations: 15.94 kB / 0.5164 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.4249, allocations: 12 kB / 0.5164 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.4269, allocations: 0.8014 MB / 0.5172 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.4288, allocations: 463.3 kB / 0.5176 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.4411, allocations: 10.66 MB / 0.528 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.4431, allocations: 123.8 kB / 0.5281 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/0.4435, allocations: 79.98 kB / 0.5282 GB, free: 8.453 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.002182/0.4457, allocations: 1.094 MB / 0.5293 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000616/0.4463, allocations: 262.3 kB / 0.5295 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/0.4523, allocations: 3.282 MB / 0.5327 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.4523, allocations: 20 kB / 0.5328 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/0.4524, allocations: 4 kB / 0.5328 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.4524, allocations: 15.95 kB / 0.5328 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2001/0.6524, allocations: 6.815 MB / 0.5394 GB, free: 98.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.6525, allocations: 2.656 kB / 0.5394 GB, free: 98.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.6537, allocations: 296.6 kB / 0.5397 GB, free: 98.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.6559, allocations: 0.9221 MB / 0.5406 GB, free: 98.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.6561, allocations: 40.69 kB / 0.5407 GB, free: 98.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009939/0.666, allocations: 13.91 MB / 0.5542 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.666, allocations: 3.719 kB / 0.5543 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006094/0.6721, allocations: 4.855 MB / 0.559 GB, free: 85.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.6734, allocations: 0.5079 MB / 0.5595 GB, free: 85.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.6738, allocations: 39.23 kB / 0.5595 GB, free: 85.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.6751, allocations: 119 kB / 0.5596 GB, free: 85.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003471/0.6754, allocations: 160.4 kB / 0.5598 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-05/0.6755, allocations: 50.19 kB / 0.5598 GB, free: 85.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001886/0.6774, allocations: 1.643 MB / 0.5614 GB, free: 84.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6774, allocations: 0 / 0.5614 GB, free: 84.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001781/0.6792, allocations: 0.7011 MB / 0.5621 GB, free: 83.94 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.0003828/0.6796, allocations: 215.6 kB / 0.5623 GB, free: 83.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.6836, allocations: 3.336 MB / 0.5656 GB, free: 80.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6836, allocations: 0 / 0.5656 GB, free: 80.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002709/0.6863, allocations: 2.353 MB / 0.5679 GB, free: 78.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.6892, allocations: 0.7305 MB / 0.5686 GB, free: 77.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/0.6979, allocations: 6.913 MB / 0.5754 GB, free: 70.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.6994, allocations: 2.49 MB / 0.5778 GB, free: 68.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/0.7001, allocations: 167.4 kB / 0.5779 GB, free: 67.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7001, allocations: 0 / 0.5779 GB, free: 67.84 MB / 446.1 MB Notification: Performance of Templates: time 0.3512/1.051, allocations: 168.9 MB / 0.7429 GB, free: 184.7 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: 17.18037279485725]