Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 123.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 192.3 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 43.92 kB / 366.8 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08947, allocations: 52.14 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01375/0.1032, allocations: 11.86 MB / 430.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.1102, allocations: 3.755 MB / 434.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.1117, allocations: 67.75 kB / 434.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.1139, allocations: 0.9202 MB / 435.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.117, allocations: 1.13 MB / 436.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1181, allocations: 499.3 kB / 437.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005033/0.1231, allocations: 4.226 MB / 441.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/0.1262, allocations: 2.395 MB / 443.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.1289, allocations: 1.912 MB / 445.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1836/0.3125, allocations: 2.374 MB / 448.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.3136, allocations: 0.4947 MB / 448.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3151, allocations: 0.5942 MB / 449.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.3163, allocations: 1.41 MB / 450.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.3188, allocations: 2.206 MB / 452.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007428/0.3263, allocations: 6.576 MB / 459.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3263, allocations: 0 / 459.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3263, allocations: 0 / 459.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001778/0.3265, allocations: 0 / 459.4 MB, free: 11.18 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.01027/0.3367, allocations: 4.402 MB / 463.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3368, allocations: 9.375 kB / 463.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.338, allocations: 457.7 kB / 464.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.3417, allocations: 2.411 MB / 466.6 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.3418, allocations: 234 kB / 466.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004646/0.3423, allocations: 312 kB / 467.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007862/0.3501, allocations: 4.373 MB / 471.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.427e-05/0.3502, allocations: 3.469 kB / 471.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/0.3505, allocations: 123.6 kB / 471.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.3507, allocations: 130.5 kB / 471.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006939/0.3576, allocations: 3.784 MB / 475.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.3824, allocations: 13.41 MB / 489 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.3864, allocations: 2.776 MB / 491.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/0.3892, allocations: 1.575 MB / 493.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.3895, allocations: 123.1 kB / 493.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.3895, allocations: 51.03 kB / 493.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 3.547e-06/0.3895, allocations: 0 / 493.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.02098/0.4105, allocations: 9.024 MB / 0.4908 GB, free: 14.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.4106, allocations: 73.34 kB / 0.4908 GB, free: 14.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.4148, allocations: 2.361 MB / 0.4931 GB, free: 12.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000347/0.4152, allocations: 53.7 kB / 0.4932 GB, free: 12.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.4165, allocations: 1.506 MB / 0.4947 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007973/0.4173, allocations: 0.6291 MB / 0.4953 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007389/0.418, allocations: 367.4 kB / 0.4956 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4181, allocations: 309 kB / 0.4959 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.4201, allocations: 1.124 MB / 0.497 GB, free: 8.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.4224, allocations: 1.57 MB / 0.4986 GB, free: 6.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004284/0.4267, allocations: 2.786 MB / 0.5013 GB, free: 3.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4267, allocations: 0.9375 kB / 0.5013 GB, free: 3.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006792/0.4335, allocations: 3.593 MB / 0.5048 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4335, allocations: 12 kB / 0.5048 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.4335, allocations: 15.94 kB / 0.5048 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/0.4357, allocations: 0.8003 MB / 0.5056 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.4377, allocations: 459.5 kB / 0.506 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.45, allocations: 11.18 MB / 0.5169 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.4525, allocations: 131.9 kB / 0.5171 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/0.4528, allocations: 76 kB / 0.5171 GB, free: 2.93 MB / 414.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.002315/0.4551, allocations: 1.084 MB / 0.5182 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/0.4558, allocations: 254.4 kB / 0.5184 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/0.4622, allocations: 3.294 MB / 0.5217 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.4622, allocations: 23.28 kB / 0.5217 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.4622, allocations: 8 kB / 0.5217 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.4622, allocations: 11.95 kB / 0.5217 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.4764, allocations: 6.823 MB / 0.5284 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.4764, allocations: 11.97 kB / 0.5284 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.4779, allocations: 297 kB / 0.5287 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.4805, allocations: 0.9183 MB / 0.5296 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.4807, allocations: 39.98 kB / 0.5296 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01572/0.4964, allocations: 14.62 MB / 0.5439 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/0.4964, allocations: 8.719 kB / 0.5439 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008838/0.5053, allocations: 4.852 MB / 0.5486 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.5069, allocations: 0.5735 MB / 0.5492 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005208/0.5074, allocations: 39.98 kB / 0.5492 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5089, allocations: 127.8 kB / 0.5493 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/0.5094, allocations: 148.7 kB / 0.5495 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.5095, allocations: 51.98 kB / 0.5495 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002762/0.5123, allocations: 1.622 MB / 0.5511 GB, free: 15.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5123, allocations: 4 kB / 0.5511 GB, free: 15.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002614/0.5149, allocations: 0.7071 MB / 0.5518 GB, free: 14.39 MB / 462.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.0004736/0.5153, allocations: 228.4 kB / 0.552 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005783/0.5211, allocations: 3.475 MB / 0.5554 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5211, allocations: 0 / 0.5554 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.5251, allocations: 2.433 MB / 0.5578 GB, free: 8.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/0.5288, allocations: 0.7216 MB / 0.5585 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.5413, allocations: 6.844 MB / 0.5652 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.5439, allocations: 2.478 MB / 0.5676 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009652/0.5449, allocations: 175.4 kB / 0.5678 GB, free: 13.88 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5449, allocations: 3.938 kB / 0.5678 GB, free: 13.88 MB / 478.1 MB Notification: Performance of Templates: time 0.3328/0.8777, allocations: 168.2 MB / 0.732 GB, free: 86.72 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.48258979106322]