Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001043/0.001043, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002516, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009823/0.0009823, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002428, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9019/0.9019, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1529/1.055, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] 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.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/1.999e-05, allocations: 5.828 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007589/0.007609, allocations: 9.515 MB / 249.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005187/0.0128, allocations: 3.083 MB / 252.4 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.01394, allocations: 59.62 kB / 252.4 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.01532, allocations: 0.6312 MB / 253.1 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.0173, allocations: 0.821 MB / 253.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.01797, allocations: 379.3 kB / 254.2 MB, free: 7.832 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002282/0.02025, allocations: 2.532 MB / 256.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.02134, allocations: 1.025 MB / 257.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.02366, allocations: 1.923 MB / 259.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.02507, allocations: 1.153 MB / 260.9 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004384/0.02551, allocations: 272 kB / 261.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.02611, allocations: 359.8 kB / 261.5 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004647/0.02657, allocations: 0.6351 MB / 262.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.02725, allocations: 0.7174 MB / 262.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.02891, allocations: 1.857 MB / 264.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.02892, allocations: 0 / 264.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.02892, allocations: 0 / 264.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.02895, allocations: 4 kB / 264.7 MB, free: 13.27 MB / 266.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.002592/0.03155, allocations: 2.847 MB / 267.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.03158, allocations: 8.031 kB / 267.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.03211, allocations: 429.7 kB / 268 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.03321, allocations: 0.931 MB / 268.9 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.03329, allocations: 140.2 kB / 269.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.03346, allocations: 200.3 kB / 269.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.03484, allocations: 1.447 MB / 270.7 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.03488, allocations: 15.88 kB / 270.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.03497, allocations: 76 kB / 270.8 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/0.03506, allocations: 91.67 kB / 270.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007094/0.03577, allocations: 0.5522 MB / 271.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.04169, allocations: 5.227 MB / 276.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.04237, allocations: 0.5835 MB / 277.2 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.04303, allocations: 0.5102 MB / 277.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.04317, allocations: 44.98 kB / 277.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.0432, allocations: 39.56 kB / 277.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 4.078e-06/0.04321, allocations: 0 / 277.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.00458/0.04779, allocations: 2.594 MB / 280.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.04782, allocations: 64.41 kB / 280.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.04857, allocations: 0.8939 MB / 281.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.04862, allocations: 41.7 kB / 281.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.04893, allocations: 0.7945 MB / 282.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.04912, allocations: 408.5 kB / 282.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.04934, allocations: 235.4 kB / 282.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.04943, allocations: 361.8 kB / 283.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.04963, allocations: 166.7 kB / 283.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.04997, allocations: 0.5164 MB / 283.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.05062, allocations: 0.854 MB / 284.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.05063, allocations: 4 kB / 284.7 MB, free: 8.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001144/0.05177, allocations: 0.9659 MB / 285.7 MB, free: 7.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.05179, allocations: 8 kB / 285.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.05181, allocations: 12 kB / 285.7 MB, free: 7.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.0524, allocations: 287.5 kB / 286 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.05306, allocations: 320.9 kB / 286.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.05606, allocations: 4.797 MB / 291.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.05665, allocations: 44 kB / 291.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.05671, allocations: 47.98 kB / 291.2 MB, free: 1.625 MB / 282.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.0004188/0.05713, allocations: 200.2 kB / 291.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.05731, allocations: 119.9 kB / 291.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.05836, allocations: 0.836 MB / 292.3 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.05836, allocations: 12 kB / 292.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.05837, allocations: 4 kB / 292.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.05838, allocations: 7.969 kB / 292.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.0608, allocations: 1.983 MB / 294.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.06081, allocations: 0 / 294.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.06128, allocations: 200 kB / 294.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.06155, allocations: 175 kB / 294.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006751/0.06223, allocations: 362.6 kB / 295.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.06228, allocations: 31.92 kB / 295.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.06551, allocations: 6.011 MB / 301.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.06552, allocations: 11.88 kB / 301.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.06681, allocations: 1.214 MB / 302.3 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.06694, allocations: 28 kB / 302.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.06725, allocations: 39.97 kB / 302.4 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.06751, allocations: 96.7 kB / 302.5 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.06755, allocations: 23.98 kB / 302.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003813/0.06793, allocations: 428.4 kB / 302.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.06793, allocations: 0 / 302.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001102/0.06903, allocations: 432 kB / 303.4 MB, free: 4.855 MB / 298.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/0.06931, allocations: 176.1 kB / 303.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.07065, allocations: 1.144 MB / 304.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.124e-05/0.07069, allocations: 23.12 kB / 304.7 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.07177, allocations: 1.121 MB / 305.8 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.07367, allocations: 3.613 MB / 309.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.08629, allocations: 3.32 MB / 312.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.08671, allocations: 448.1 kB / 313.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000566/0.08728, allocations: 168 kB / 313.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.08785, allocations: 369.1 kB / 313.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of SimCode: time 1.843e-06/0.08785, allocations: 0 / 313.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of Templates: time 0.03163/0.1195, allocations: 24.63 MB / 338.3 MB, free: 1.297 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0245327912271023]