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.001361/0.001361, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001627/0.001627, allocations: 209.4 kB / 24.47 MB, free: 4.023 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.498/1.498, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001973/0.001973, allocations: 67.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2808, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01578/0.2966, allocations: 11.96 MB / 444 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008998/0.3056, allocations: 3.849 MB / 447.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.308, allocations: 71.69 kB / 447.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.3113, allocations: 0.9249 MB / 448.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.3156, allocations: 1.142 MB / 450 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.3174, allocations: 0.4954 MB / 450.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006332/0.3237, allocations: 4.234 MB / 454.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003206/0.3269, allocations: 1.845 MB / 456.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.3304, allocations: 1.927 MB / 458.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.3348, allocations: 2.394 MB / 460.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.336, allocations: 0.4922 MB / 461.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.3375, allocations: 0.5975 MB / 462 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.3391, allocations: 1.414 MB / 463.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003257/0.3424, allocations: 2.209 MB / 465.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009302/0.3517, allocations: 6.598 MB / 472.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3517, allocations: 0 / 472.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3517, allocations: 0 / 472.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002117/0.3519, allocations: 0 / 472.2 MB, free: 15.04 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.01117/0.363, allocations: 4.419 MB / 476.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3631, allocations: 12.03 kB / 476.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.3648, allocations: 494.2 kB / 477.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/0.3702, allocations: 2.428 MB / 479.6 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.3704, allocations: 226.2 kB / 479.8 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006348/0.371, allocations: 307.9 kB / 480.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008358/0.3794, allocations: 4.373 MB / 484.4 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.75e-05/0.3795, allocations: 15.92 kB / 484.5 MB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/0.3798, allocations: 131.9 kB / 484.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.38, allocations: 130 kB / 484.7 MB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007483/0.3875, allocations: 3.779 MB / 488.5 MB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/0.4146, allocations: 13.41 MB / 0.4901 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.4189, allocations: 2.775 MB / 0.4929 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/0.4221, allocations: 1.571 MB / 0.4944 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.4224, allocations: 126.4 kB / 0.4945 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/0.4225, allocations: 55.86 kB / 0.4946 GB, free: 12.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 4.208e-06/0.4225, allocations: 0 / 0.4946 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.02032/0.4428, allocations: 9.026 MB / 0.5034 GB, free: 2.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.4429, allocations: 73.41 kB / 0.5034 GB, free: 2.754 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/0.4476, allocations: 2.382 MB / 0.5058 GB, free: 352 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002851/0.4479, allocations: 53.7 kB / 0.5058 GB, free: 292 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.4494, allocations: 1.509 MB / 0.5073 GB, free: 14.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008073/0.4502, allocations: 0.6352 MB / 0.5079 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008611/0.4511, allocations: 367.5 kB / 0.5083 GB, free: 13.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4512, allocations: 301.1 kB / 0.5086 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.4532, allocations: 1.12 MB / 0.5096 GB, free: 12.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.4556, allocations: 1.574 MB / 0.5112 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/0.46, allocations: 2.788 MB / 0.5139 GB, free: 7.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.987e-05/0.46, allocations: 4 kB / 0.5139 GB, free: 7.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006849/0.4669, allocations: 3.59 MB / 0.5174 GB, free: 4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.4669, allocations: 11.94 kB / 0.5174 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4669, allocations: 12 kB / 0.5174 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/0.4691, allocations: 0.8059 MB / 0.5182 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.471, allocations: 455.3 kB / 0.5187 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.4835, allocations: 11.19 MB / 0.5296 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.4858, allocations: 127.9 kB / 0.5297 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/0.4861, allocations: 76 kB / 0.5298 GB, free: 6.625 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.002298/0.4884, allocations: 1.087 MB / 0.5308 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008319/0.4893, allocations: 262.3 kB / 0.5311 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006721/0.496, allocations: 3.289 MB / 0.5343 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.496, allocations: 20 kB / 0.5343 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/0.496, allocations: 4 kB / 0.5343 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.4961, allocations: 15.97 kB / 0.5343 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2339/0.73, allocations: 6.83 MB / 0.541 GB, free: 98.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.73, allocations: 1.25 kB / 0.541 GB, free: 98.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.7312, allocations: 296.1 kB / 0.5413 GB, free: 98.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/0.7336, allocations: 0.9208 MB / 0.5422 GB, free: 98.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.7338, allocations: 47.78 kB / 0.5422 GB, free: 98.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.7442, allocations: 14.63 MB / 0.5565 GB, free: 86.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7442, allocations: 3.75 kB / 0.5565 GB, free: 86.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/0.7507, allocations: 4.85 MB / 0.5613 GB, free: 84.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.7522, allocations: 0.5792 MB / 0.5618 GB, free: 84.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/0.7527, allocations: 42.06 kB / 0.5619 GB, free: 84.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.7541, allocations: 121.7 kB / 0.562 GB, free: 84.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/0.7545, allocations: 159.5 kB / 0.5621 GB, free: 84.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.7546, allocations: 49.77 kB / 0.5622 GB, free: 84.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002182/0.7568, allocations: 1.637 MB / 0.5638 GB, free: 82.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7568, allocations: 0 / 0.5638 GB, free: 82.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002311/0.7591, allocations: 0.7052 MB / 0.5645 GB, free: 82.11 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.0004392/0.7595, allocations: 210.6 kB / 0.5647 GB, free: 81.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004333/0.7638, allocations: 3.488 MB / 0.5681 GB, free: 78.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.7638, allocations: 0 / 0.5681 GB, free: 78.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002874/0.7667, allocations: 2.43 MB / 0.5705 GB, free: 75.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.77, allocations: 0.7245 MB / 0.5712 GB, free: 75.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009472/0.7795, allocations: 6.904 MB / 0.5779 GB, free: 68.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.7812, allocations: 2.537 MB / 0.5804 GB, free: 65.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001658/0.7828, allocations: 0.5828 MB / 0.5809 GB, free: 65.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.7833, allocations: 159.4 kB / 0.5811 GB, free: 64.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.7833, allocations: 0 / 0.5811 GB, free: 64.9 MB / 446.1 MB Notification: Performance of Templates: time 0.06227/0.8455, allocations: 41.84 MB / 0.622 GB, free: 23.54 MB / 446.1 MB " [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 -s cvode -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: 6.779855359811336]