Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001893/0.001893, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002006/0.002006, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 18.57 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.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.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_4.1.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.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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.441e-05/4.627e-05, allocations: 6.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.02373/0.02377, allocations: 9.61 MB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009816/0.03359, allocations: 3.03 MB / 285 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.03499, allocations: 59.62 kB / 285 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.03713, allocations: 0.6363 MB / 285.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.04015, allocations: 0.8147 MB / 286.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.04122, allocations: 391.3 kB / 286.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003586/0.0448, allocations: 2.525 MB / 289.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.118/0.1628, allocations: 1.003 MB / 290.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.1657, allocations: 1.626 MB / 292 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.1679, allocations: 1.206 MB / 293.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006061/0.1685, allocations: 279.7 kB / 293.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.1695, allocations: 376 kB / 293.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009012/0.1704, allocations: 0.8155 MB / 294.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.1719, allocations: 0.8891 MB / 295.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.1761, allocations: 3.727 MB / 299.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1761, allocations: 0 / 299.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1761, allocations: 5.531 kB / 299.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.442e-05/0.1762, allocations: 1.5 kB / 299.3 MB, free: 15.56 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.005897/0.1821, allocations: 2.912 MB / 302.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1822, allocations: 8.969 kB / 302.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.1834, allocations: 445.7 kB / 302.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.186, allocations: 1.284 MB / 303.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1861, allocations: 147.8 kB / 304.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003816/0.1865, allocations: 190.2 kB / 304.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/0.1903, allocations: 2.353 MB / 306.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.267e-05/0.1903, allocations: 8.672 kB / 306.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.1905, allocations: 82.62 kB / 306.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.194e-05/0.1906, allocations: 94.16 kB / 306.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.1932, allocations: 1.463 MB / 308.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.2054, allocations: 9.098 MB / 317.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.2064, allocations: 0.7168 MB / 318.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.2079, allocations: 0.6856 MB / 318.8 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.2081, allocations: 48.97 kB / 318.8 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2081, allocations: 50.38 kB / 318.9 MB, free: 1.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.965e-06/0.2081, allocations: 4 kB / 318.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.009851/0.218, allocations: 3.56 MB / 322.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.2181, allocations: 64.41 kB / 322.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.2206, allocations: 1.467 MB / 324 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.2207, allocations: 45.7 kB / 324 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.2217, allocations: 1.076 MB / 325.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004773/0.2222, allocations: 446.4 kB / 325.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005584/0.2228, allocations: 304.8 kB / 325.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003824/0.2232, allocations: 0.5784 MB / 326.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/0.224, allocations: 343.8 kB / 326.7 MB, free: 9.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.2253, allocations: 0.8777 MB / 327.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.2279, allocations: 1.359 MB / 329 MB, free: 6.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-05/0.2279, allocations: 4 kB / 329 MB, free: 6.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003921/0.2318, allocations: 1.557 MB / 330.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.2318, allocations: 12 kB / 330.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.2319, allocations: 12 kB / 330.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.2333, allocations: 318.9 kB / 330.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.2345, allocations: 305.4 kB / 331.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008397/0.2429, allocations: 6.979 MB / 338.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.2444, allocations: 91.89 kB / 338.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.2445, allocations: 56 kB / 338.3 MB, free: 13.16 MB / 298.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.001197/0.2457, allocations: 0.5152 MB / 338.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.2462, allocations: 179.1 kB / 339 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.2494, allocations: 1.234 MB / 340.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.2495, allocations: 16 kB / 340.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.2495, allocations: 4 kB / 340.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.2495, allocations: 7.969 kB / 340.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/0.2576, allocations: 3.364 MB / 343.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.2576, allocations: 3.938 kB / 343.6 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.2585, allocations: 190.4 kB / 343.8 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.2602, allocations: 385 kB / 344.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.2603, allocations: 31.98 kB / 344.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.2705, allocations: 8.819 MB / 353 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/0.2705, allocations: 4 kB / 353 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.2748, allocations: 1.817 MB / 354.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009607/0.2757, allocations: 255 kB / 355.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.276, allocations: 23.98 kB / 355.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008301/0.2768, allocations: 71.92 kB / 355.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.2771, allocations: 95.95 kB / 355.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.2772, allocations: 36.06 kB / 355.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001509/0.2787, allocations: 0.8376 MB / 356.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2787, allocations: 0 / 356.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001883/0.2805, allocations: 443.9 kB / 356.6 MB, free: 10.31 MB / 314.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.0004321/0.281, allocations: 185.2 kB / 356.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.2844, allocations: 1.718 MB / 358.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2844, allocations: 0 / 358.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.287, allocations: 1.399 MB / 359.9 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.2892, allocations: 379.1 kB / 360.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/0.2972, allocations: 3.629 MB / 363.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.2986, allocations: 1.018 MB / 364.9 MB, free: 1.836 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001048/0.2997, allocations: 251.8 kB / 365.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.3, allocations: 92.48 kB / 365.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3, allocations: 0 / 365.2 MB, free: 1.496 MB / 314.7 MB Notification: Performance of Templates: time 0.04682/0.3468, allocations: 22.94 MB / 388.2 MB, free: 10.95 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.6496213539503515]