Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.0008256/0.0008256, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004081/0.004081, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8782/0.8782, allocations: 177 MB / 204.9 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.548e-05, allocations: 3.266 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007115/0.007141, allocations: 8.644 MB / 334.4 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004848/0.01199, allocations: 2.933 MB / 337.4 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006612/0.01265, allocations: 59.62 kB / 337.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.01371, allocations: 0.6247 MB / 338 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.015, allocations: 0.8186 MB / 338.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.01551, allocations: 403.3 kB / 339.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.01717, allocations: 2.528 MB / 341.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008755/0.01805, allocations: 1.005 MB / 342.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.01924, allocations: 1.618 MB / 344.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009713/0.02021, allocations: 1.114 MB / 345.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.02046, allocations: 284 kB / 345.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.02088, allocations: 383.7 kB / 346.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005004/0.02138, allocations: 0.8023 MB / 347 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.02239, allocations: 0.8692 MB / 347.9 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.02469, allocations: 3.708 MB / 351.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.02469, allocations: 4 kB / 351.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.02469, allocations: 0 / 351.6 MB, free: 5.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.02472, allocations: 0 / 351.6 MB, free: 5.465 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.002874/0.02759, allocations: 2.56 MB / 354.1 MB, free: 2.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.02763, allocations: 11.98 kB / 354.1 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/0.02825, allocations: 287.4 kB / 354.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.02966, allocations: 1.297 MB / 355.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/0.02974, allocations: 144.2 kB / 355.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.02994, allocations: 196.3 kB / 356 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.03239, allocations: 2.519 MB / 358.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.03243, allocations: 7.984 kB / 358.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.03254, allocations: 76 kB / 358.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.03261, allocations: 91.69 kB / 358.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.03462, allocations: 1.955 MB / 360.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00639/0.04101, allocations: 6.767 MB / 367.5 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.04204, allocations: 1.01 MB / 368.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.04321, allocations: 0.9054 MB / 369.4 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.04335, allocations: 44.97 kB / 369.4 MB, free: 3.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.04337, allocations: 47.5 kB / 369.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 3.757e-06/0.04338, allocations: 0 / 369.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.006849/0.05023, allocations: 5.489 MB / 375 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.05027, allocations: 64.41 kB / 375 MB, free: 13.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.05144, allocations: 1.178 MB / 376.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.0515, allocations: 45.7 kB / 376.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.0519, allocations: 0.9489 MB / 377.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.0521, allocations: 404.6 kB / 377.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.05233, allocations: 251.5 kB / 377.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.05243, allocations: 361.8 kB / 378.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.05306, allocations: 0.6364 MB / 378.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.05382, allocations: 1.008 MB / 379.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.05526, allocations: 1.727 MB / 381.6 MB, free: 6.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.05526, allocations: 4 kB / 381.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002441/0.0577, allocations: 2.234 MB / 383.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.05772, allocations: 12 kB / 383.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.05774, allocations: 12 kB / 383.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.05846, allocations: 0.4917 MB / 384.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.05901, allocations: 303.5 kB / 384.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.06348, allocations: 6.682 MB / 391.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.06401, allocations: 95.8 kB / 391.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.06407, allocations: 52 kB / 391.4 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007567/0.06483, allocations: 0.5992 MB / 392 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.06497, allocations: 147.2 kB / 392.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.06707, allocations: 1.936 MB / 394.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.06708, allocations: 12 kB / 394.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.06709, allocations: 4 kB / 394.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.0671, allocations: 7.969 kB / 394.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/0.071, allocations: 3.646 MB / 397.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.071, allocations: 4 kB / 397.8 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.0714, allocations: 179.8 kB / 398 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007732/0.07217, allocations: 0.5349 MB / 398.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.07223, allocations: 31.98 kB / 398.5 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.07714, allocations: 8.198 MB / 406.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.07714, allocations: 8.016 kB / 406.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.07983, allocations: 2.836 MB / 409.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.08019, allocations: 259 kB / 409.8 MB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/0.08029, allocations: 35.92 kB / 409.9 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.08065, allocations: 67.92 kB / 409.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.08081, allocations: 96.8 kB / 410 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/0.08086, allocations: 28 kB / 410 MB, free: 9.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007311/0.08159, allocations: 0.783 MB / 410.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08159, allocations: 4 kB / 410.8 MB, free: 8.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009892/0.08258, allocations: 440 kB / 411.3 MB, free: 8.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0004275/0.08301, allocations: 202 kB / 411.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.08499, allocations: 1.996 MB / 413.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.085, allocations: 11.98 kB / 413.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.08617, allocations: 1.372 MB / 414.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.08706, allocations: 355.3 kB / 415.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.09146, allocations: 3.99 MB / 419.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.09221, allocations: 1.057 MB / 420.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.09242, allocations: 104.4 kB / 420.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.09242, allocations: 0 / 420.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of Templates: time 0.1905/0.2829, allocations: 70.91 MB / 491.2 MB, free: 84.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 9.213572172448039]