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.001324/0.001324, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001375/0.001375, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.454/1.454, allocations: 230.4 MB / 255.4 MB, free: 15.03 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.002436/0.002436, allocations: 71.83 kB / 374.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.135, allocations: 53.31 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.265/0.4001, allocations: 11.91 MB / 440 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007925/0.408, allocations: 3.839 MB / 443.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.411, allocations: 72.56 kB / 443.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.4143, allocations: 0.9226 MB / 444.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005296/0.4196, allocations: 1.141 MB / 446 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.4214, allocations: 0.4935 MB / 446.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007321/0.4287, allocations: 4.239 MB / 450.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003909/0.4327, allocations: 2.396 MB / 453.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.4372, allocations: 1.93 MB / 455 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006058/0.4432, allocations: 2.383 MB / 457.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001994/0.4452, allocations: 0.4989 MB / 457.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.4485, allocations: 0.5981 MB / 458.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002753/0.4512, allocations: 1.416 MB / 459.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006004/0.4572, allocations: 2.21 MB / 462.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.4689, allocations: 6.59 MB / 468.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4689, allocations: 0 / 468.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4689, allocations: 0.9062 kB / 468.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002691/0.4691, allocations: 0 / 468.7 MB, free: 5.004 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.01501/0.4841, allocations: 4.429 MB / 473.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.4842, allocations: 9.344 kB / 473.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.4867, allocations: 495.5 kB / 473.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/0.4926, allocations: 2.421 MB / 476.1 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.4929, allocations: 238.3 kB / 476.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.4939, allocations: 312.7 kB / 476.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009771/0.5037, allocations: 4.375 MB / 481 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.731e-05/0.5038, allocations: 15.88 kB / 481 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003767/0.5042, allocations: 124 kB / 481.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.5043, allocations: 126 kB / 481.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008187/0.5125, allocations: 3.783 MB / 485 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.5399, allocations: 13.41 MB / 498.4 MB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.5438, allocations: 2.767 MB / 0.4894 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.5468, allocations: 1.571 MB / 0.491 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.5471, allocations: 130.3 kB / 0.4911 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.5471, allocations: 55.86 kB / 0.4912 GB, free: 5.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.617e-06/0.5471, allocations: 0 / 0.4912 GB, free: 5.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02053/0.5676, allocations: 9.018 MB / 0.5 GB, free: 11.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.5677, allocations: 81.34 kB / 0.5 GB, free: 11.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/0.5719, allocations: 2.366 MB / 0.5023 GB, free: 9.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/0.5722, allocations: 57.7 kB / 0.5024 GB, free: 9.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.5735, allocations: 1.509 MB / 0.5039 GB, free: 7.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008/0.5743, allocations: 0.6313 MB / 0.5045 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006803/0.575, allocations: 367.5 kB / 0.5048 GB, free: 6.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5752, allocations: 305.1 kB / 0.5051 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.5771, allocations: 1.128 MB / 0.5062 GB, free: 5.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.5793, allocations: 1.571 MB / 0.5078 GB, free: 3.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.5836, allocations: 2.78 MB / 0.5105 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.5836, allocations: 4 kB / 0.5105 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007019/0.5906, allocations: 3.594 MB / 0.514 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.5906, allocations: 12 kB / 0.514 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.5907, allocations: 15.94 kB / 0.514 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.5928, allocations: 0.8061 MB / 0.5148 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.5948, allocations: 451.3 kB / 0.5152 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.6073, allocations: 11.18 MB / 0.5262 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.61, allocations: 127.9 kB / 0.5263 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/0.6103, allocations: 76 kB / 0.5264 GB, free: 15.68 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.002413/0.6127, allocations: 1.101 MB / 0.5274 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007162/0.6134, allocations: 258.3 kB / 0.5277 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006274/0.6197, allocations: 3.285 MB / 0.5309 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.6197, allocations: 24 kB / 0.5309 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.6198, allocations: 4 kB / 0.5309 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.6198, allocations: 7.969 kB / 0.5309 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.6335, allocations: 6.837 MB / 0.5376 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.6335, allocations: 4.219 kB / 0.5376 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.6348, allocations: 295.6 kB / 0.5379 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.6374, allocations: 0.9126 MB / 0.5388 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6376, allocations: 39.98 kB / 0.5388 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.6532, allocations: 14.63 MB / 0.5531 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.6532, allocations: 7.969 kB / 0.5531 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009143/0.6624, allocations: 4.858 MB / 0.5579 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/0.6644, allocations: 0.5773 MB / 0.5584 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005456/0.6649, allocations: 39.98 kB / 0.5585 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.6663, allocations: 119.8 kB / 0.5586 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/0.6668, allocations: 157.7 kB / 0.5587 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.6669, allocations: 47.98 kB / 0.5588 GB, free: 13.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002877/0.6698, allocations: 1.637 MB / 0.5604 GB, free: 11.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6698, allocations: 4 kB / 0.5604 GB, free: 11.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002968/0.6728, allocations: 0.7071 MB / 0.5611 GB, free: 10.86 MB / 478.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.0005454/0.6733, allocations: 210.8 kB / 0.5613 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006088/0.6794, allocations: 3.488 MB / 0.5647 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6794, allocations: 0.75 kB / 0.5647 GB, free: 7.051 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0041/0.6835, allocations: 2.433 MB / 0.567 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/0.6876, allocations: 0.7224 MB / 0.5677 GB, free: 3.805 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.7025, allocations: 6.871 MB / 0.5745 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/0.7052, allocations: 2.486 MB / 0.5769 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.7063, allocations: 167.4 kB / 0.577 GB, free: 10.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7063, allocations: 0 / 0.577 GB, free: 10.2 MB / 494.1 MB Notification: Performance of Templates: time 0.403/1.109, allocations: 168.9 MB / 0.742 GB, free: 62.14 MB / 0.5137 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: 17.233105778926983]