Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001247/0.001247, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001358/0.001358, allocations: 210.6 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.367/1.367, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2767, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01431/0.291, allocations: 11.97 MB / 444 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007801/0.2988, allocations: 3.849 MB / 447.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.301, allocations: 71.69 kB / 447.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.3034, allocations: 0.9288 MB / 448.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.3068, allocations: 1.134 MB / 450 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3081, allocations: 0.507 MB / 450.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00551/0.3136, allocations: 4.238 MB / 454.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.3163, allocations: 1.837 MB / 456.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.3193, allocations: 1.924 MB / 458.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.3235, allocations: 2.394 MB / 460.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.3245, allocations: 0.4961 MB / 461.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.3259, allocations: 0.6014 MB / 462 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.3275, allocations: 1.414 MB / 463.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003156/0.3307, allocations: 2.209 MB / 465.6 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007474/0.3381, allocations: 6.591 MB / 472.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3381, allocations: 0 / 472.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3382, allocations: 0 / 472.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.3383, allocations: 0 / 472.2 MB, free: 14.99 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.01092/0.3492, allocations: 4.423 MB / 476.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3493, allocations: 8.031 kB / 476.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.3509, allocations: 494.2 kB / 477.1 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.3569, allocations: 2.424 MB / 479.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.3572, allocations: 230.1 kB / 479.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009743/0.3582, allocations: 319.9 kB / 480.1 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008926/0.3671, allocations: 4.358 MB / 484.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.373e-05/0.3672, allocations: 19.88 kB / 484.5 MB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/0.3675, allocations: 128 kB / 484.6 MB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.3676, allocations: 130 kB / 484.7 MB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007157/0.3748, allocations: 3.775 MB / 488.5 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02727/0.4021, allocations: 13.41 MB / 0.4901 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004971/0.407, allocations: 2.778 MB / 0.4928 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.4105, allocations: 1.567 MB / 0.4944 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.4108, allocations: 134.3 kB / 0.4945 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.4109, allocations: 51.86 kB / 0.4946 GB, free: 12.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.097e-06/0.4109, allocations: 0 / 0.4946 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.02146/0.4323, allocations: 9.029 MB / 0.5034 GB, free: 2.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.4324, allocations: 69.41 kB / 0.5034 GB, free: 2.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004837/0.4372, allocations: 2.378 MB / 0.5058 GB, free: 316 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004233/0.4377, allocations: 61.7 kB / 0.5058 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.4392, allocations: 1.505 MB / 0.5073 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008613/0.4401, allocations: 0.6352 MB / 0.5079 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/0.4407, allocations: 363.5 kB / 0.5083 GB, free: 13.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4409, allocations: 301.1 kB / 0.5085 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.4429, allocations: 1.124 MB / 0.5096 GB, free: 12.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.4453, allocations: 1.574 MB / 0.5112 GB, free: 10.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/0.4498, allocations: 2.784 MB / 0.5139 GB, free: 7.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.4498, allocations: 4 kB / 0.5139 GB, free: 7.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006767/0.4566, allocations: 3.594 MB / 0.5174 GB, free: 3.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.4566, allocations: 20.03 kB / 0.5174 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.4567, allocations: 12 kB / 0.5174 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/0.4588, allocations: 0.7981 MB / 0.5182 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.4607, allocations: 459.3 kB / 0.5187 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.4734, allocations: 11.17 MB / 0.5296 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.4755, allocations: 127.8 kB / 0.5297 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003682/0.4759, allocations: 76.06 kB / 0.5298 GB, free: 6.59 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.002321/0.4782, allocations: 1.105 MB / 0.5308 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006873/0.4789, allocations: 258.3 kB / 0.5311 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/0.485, allocations: 3.293 MB / 0.5343 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.485, allocations: 16 kB / 0.5343 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.485, allocations: 11.94 kB / 0.5343 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.485, allocations: 7.969 kB / 0.5343 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2198/0.7048, allocations: 6.83 MB / 0.541 GB, free: 98.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.7048, allocations: 3.969 kB / 0.541 GB, free: 98.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.7061, allocations: 293.8 kB / 0.5413 GB, free: 98.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/0.7084, allocations: 0.9248 MB / 0.5422 GB, free: 98.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.7085, allocations: 44.41 kB / 0.5422 GB, free: 98.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009749/0.7183, allocations: 14.62 MB / 0.5565 GB, free: 86.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7183, allocations: 3.5 kB / 0.5565 GB, free: 86.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00595/0.7242, allocations: 4.854 MB / 0.5613 GB, free: 84.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.7255, allocations: 0.579 MB / 0.5618 GB, free: 84.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/0.7259, allocations: 38.78 kB / 0.5619 GB, free: 84.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.7271, allocations: 121.2 kB / 0.562 GB, free: 84.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/0.7274, allocations: 152.7 kB / 0.5621 GB, free: 84.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.513e-05/0.7275, allocations: 52.47 kB / 0.5622 GB, free: 84.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001978/0.7295, allocations: 1.637 MB / 0.5638 GB, free: 82.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7295, allocations: 0 / 0.5638 GB, free: 82.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001931/0.7314, allocations: 0.705 MB / 0.5645 GB, free: 82.03 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.0003794/0.7318, allocations: 216.9 kB / 0.5647 GB, free: 81.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004046/0.7358, allocations: 3.489 MB / 0.5681 GB, free: 78.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.7358, allocations: 0.6562 kB / 0.5681 GB, free: 78.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002661/0.7385, allocations: 2.425 MB / 0.5705 GB, free: 75.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.7415, allocations: 0.7292 MB / 0.5712 GB, free: 75.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/0.7502, allocations: 6.919 MB / 0.5779 GB, free: 68.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.7518, allocations: 2.486 MB / 0.5803 GB, free: 65.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007417/0.7526, allocations: 171.4 kB / 0.5805 GB, free: 65.42 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7526, allocations: 0 / 0.5805 GB, free: 65.42 MB / 446.1 MB Notification: Performance of Templates: time 0.391/1.144, allocations: 168.9 MB / 0.7454 GB, free: 186.1 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.121180148795247]