Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 254.8 MB, free: 15.25 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 55.91 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1016, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01479/0.1163, allocations: 11.92 MB / 439.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008262/0.1246, allocations: 3.841 MB / 443.3 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.1265, allocations: 95.38 kB / 443.3 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.1288, allocations: 0.9328 MB / 444.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.1319, allocations: 1.13 MB / 445.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1332, allocations: 0.4955 MB / 445.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2291/0.3622, allocations: 4.237 MB / 450.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003476/0.3657, allocations: 2.398 MB / 452.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.3693, allocations: 1.964 MB / 454.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004838/0.3742, allocations: 2.388 MB / 456.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.376, allocations: 0.4942 MB / 457.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.3786, allocations: 0.5992 MB / 458 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002108/0.3807, allocations: 1.411 MB / 459.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004279/0.385, allocations: 2.211 MB / 461.6 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008603/0.3936, allocations: 6.592 MB / 468.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3936, allocations: 1.094 kB / 468.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3936, allocations: 4 kB / 468.2 MB, free: 5.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001997/0.3938, allocations: 0 / 468.2 MB, free: 5.203 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.0118/0.4056, allocations: 4.422 MB / 472.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4056, allocations: 8.938 kB / 472.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.4075, allocations: 499.3 kB / 473.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00488/0.4124, allocations: 2.421 MB / 475.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.4126, allocations: 230.6 kB / 475.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007829/0.4134, allocations: 312.1 kB / 476.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009426/0.4228, allocations: 4.374 MB / 480.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.028e-05/0.4229, allocations: 15.11 kB / 480.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004256/0.4233, allocations: 128.5 kB / 480.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.4234, allocations: 124.9 kB / 480.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007958/0.4314, allocations: 3.783 MB / 484.5 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.458, allocations: 13.41 MB / 497.9 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004348/0.4623, allocations: 2.762 MB / 0.4889 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/0.4656, allocations: 1.573 MB / 0.4905 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/0.4659, allocations: 130.3 kB / 0.4906 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.466, allocations: 55.06 kB / 0.4906 GB, free: 12.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.626e-06/0.466, allocations: 0 / 0.4906 GB, free: 12.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02243/0.4884, allocations: 9.025 MB / 0.4995 GB, free: 2.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.4885, allocations: 73.41 kB / 0.4995 GB, free: 2.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.4934, allocations: 2.366 MB / 0.5018 GB, free: 408 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003673/0.4938, allocations: 57.7 kB / 0.5019 GB, free: 344 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.4953, allocations: 1.503 MB / 0.5034 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008813/0.4961, allocations: 0.6371 MB / 0.504 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009651/0.4971, allocations: 368.3 kB / 0.5043 GB, free: 13.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4972, allocations: 309.1 kB / 0.5046 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.4994, allocations: 1.12 MB / 0.5057 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.5021, allocations: 1.575 MB / 0.5073 GB, free: 10.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/0.5068, allocations: 2.781 MB / 0.51 GB, free: 7.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.5068, allocations: 4 kB / 0.51 GB, free: 7.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007472/0.5143, allocations: 3.592 MB / 0.5135 GB, free: 4.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.5144, allocations: 15.98 kB / 0.5135 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.5144, allocations: 12 kB / 0.5135 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.5168, allocations: 0.8085 MB / 0.5143 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.5188, allocations: 459.5 kB / 0.5147 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.5317, allocations: 11.18 MB / 0.5257 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.5341, allocations: 123.8 kB / 0.5258 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004215/0.5346, allocations: 77.31 kB / 0.5259 GB, free: 6.938 MB / 430.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.002693/0.5372, allocations: 1.091 MB / 0.5269 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008999/0.5381, allocations: 258.4 kB / 0.5272 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007006/0.5452, allocations: 3.287 MB / 0.5304 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.5452, allocations: 20 kB / 0.5304 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/0.5452, allocations: 4 kB / 0.5304 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.5452, allocations: 7.969 kB / 0.5304 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.5599, allocations: 6.848 MB / 0.5371 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.5599, allocations: 0 / 0.5371 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.5613, allocations: 293.4 kB / 0.5374 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/0.5641, allocations: 0.9359 MB / 0.5383 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/0.5643, allocations: 39.98 kB / 0.5383 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/0.5809, allocations: 14.62 MB / 0.5526 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.5809, allocations: 12.08 kB / 0.5526 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009368/0.5903, allocations: 4.851 MB / 0.5573 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/0.592, allocations: 0.5735 MB / 0.5579 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008659/0.5929, allocations: 39.98 kB / 0.5579 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/0.5948, allocations: 119.9 kB / 0.5581 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/0.5953, allocations: 161.1 kB / 0.5582 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.5954, allocations: 47.98 kB / 0.5583 GB, free: 4.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003343/0.5987, allocations: 1.641 MB / 0.5599 GB, free: 3.078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5988, allocations: 0 / 0.5599 GB, free: 3.078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0031/0.6018, allocations: 0.6992 MB / 0.5605 GB, free: 2.379 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.0005818/0.6024, allocations: 218 kB / 0.5608 GB, free: 2.176 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006305/0.6087, allocations: 3.49 MB / 0.5642 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6087, allocations: 0 / 0.5642 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00428/0.613, allocations: 2.424 MB / 0.5665 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/0.6178, allocations: 0.7183 MB / 0.5672 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.6322, allocations: 6.888 MB / 0.574 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/0.6353, allocations: 2.483 MB / 0.5764 GB, free: 2.004 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/0.6363, allocations: 167.4 kB / 0.5765 GB, free: 1.84 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6363, allocations: 4 kB / 0.5765 GB, free: 1.836 MB / 478.1 MB Notification: Performance of Templates: time 0.3518/0.9881, allocations: 168.9 MB / 0.7415 GB, free: 101.7 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 17.281837432004977]