Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.0009111/0.0009111, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002331, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008468/0.0008468, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008621/0.001709, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9712/0.9712, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1606/1.132, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.27e-05, allocations: 5.406 kB / 221.9 MB, free: 144 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01911/0.01913, allocations: 23.58 MB / 245.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.03261, allocations: 7.693 MB / 253.1 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.03491, allocations: 191 kB / 253.3 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009426/0.04433, allocations: 9.348 MB / 262.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007128/0.05146, allocations: 3.068 MB / 265.7 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.05428, allocations: 1.738 MB / 267.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01083/0.06511, allocations: 11.39 MB / 278.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.178/0.2431, allocations: 14.31 MB / 293.2 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.2572, allocations: 9.091 MB / 302.3 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008882/0.2661, allocations: 6.382 MB / 308.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003568/0.2697, allocations: 1.678 MB / 310.3 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.2726, allocations: 2.07 MB / 312.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001736/0.2743, allocations: 2.665 MB / 315.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0037/0.278, allocations: 3.5 MB / 318.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008844/0.2868, allocations: 9.95 MB / 328.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.2869, allocations: 0 / 328.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2869, allocations: 0.5 kB / 328.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003993/0.2873, allocations: 2.938 kB / 328.5 MB, free: 13.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.02403/0.3113, allocations: 14.04 MB / 342.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3113, allocations: 8.031 kB / 342.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/0.33, allocations: 7.175 MB / 349.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008525/0.3385, allocations: 3.104 MB / 352.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005464/0.339, allocations: 0.716 MB / 353.6 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00179/0.3408, allocations: 0.9404 MB / 354.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.3539, allocations: 7.937 MB / 362.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/0.3541, allocations: 11.23 kB / 362.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007305/0.3549, allocations: 396 kB / 362.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004936/0.3554, allocations: 0.5864 MB / 363.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007917/0.3633, allocations: 4.158 MB / 367.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05033/0.4136, allocations: 31.3 MB / 398.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.424, allocations: 6.404 MB / 405.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.4257, allocations: 1.072 MB / 406.4 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.4357, allocations: 4.48 MB / 410.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.4358, allocations: 64.89 kB / 410.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=297): time 6.202e-06/0.4358, allocations: 4 kB / 410.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=303): time 0.01507/0.4508, allocations: 7.09 MB / 418 MB, free: 7.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4509, allocations: 81.78 kB / 418.1 MB, free: 7.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.4538, allocations: 2.502 MB / 420.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.454, allocations: 73.7 kB / 420.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.4561, allocations: 4.075 MB / 424.7 MB, free: 1.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007747/0.4569, allocations: 1.102 MB / 425.8 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1611/0.618, allocations: 1.006 MB / 426.8 MB, free: 86.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.618, allocations: 303.3 kB / 427.1 MB, free: 86.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.6195, allocations: 0.7307 MB / 427.9 MB, free: 86.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.6217, allocations: 2.941 MB / 430.8 MB, free: 83.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00545/0.6272, allocations: 4.169 MB / 435 MB, free: 80.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002181/0.6274, allocations: 23.84 kB / 435 MB, free: 80.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008496/0.6359, allocations: 3.879 MB / 438.9 MB, free: 80.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.636, allocations: 45.03 kB / 438.9 MB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/0.6361, allocations: 79.09 kB / 439 MB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.6384, allocations: 1.047 MB / 440 MB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.6412, allocations: 1.271 MB / 441.3 MB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/0.6462, allocations: 4.574 MB / 445.9 MB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/0.6494, allocations: 225.3 kB / 446.1 MB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006716/0.6501, allocations: 227.9 kB / 446.3 MB, free: 78.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002813/0.6529, allocations: 497.5 kB / 446.8 MB, free: 78.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007453/0.6537, allocations: 310.2 kB / 447.1 MB, free: 78.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.6572, allocations: 2.43 MB / 449.5 MB, free: 78.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002226/0.6594, allocations: 1.519 MB / 451.1 MB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/0.6595, allocations: 13.84 kB / 451.1 MB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.6595, allocations: 15.61 kB / 451.1 MB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.674, allocations: 6.741 MB / 457.8 MB, free: 77.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.674, allocations: 3.969 kB / 457.8 MB, free: 77.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.6753, allocations: 0.5433 MB / 458.4 MB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.6768, allocations: 459.6 kB / 458.8 MB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.6786, allocations: 0.929 MB / 459.8 MB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.6787, allocations: 72.66 kB / 459.8 MB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.6834, allocations: 4.164 MB / 464 MB, free: 76.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.6834, allocations: 7.062 kB / 464 MB, free: 76.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/0.6885, allocations: 2.85 MB / 466.8 MB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000667/0.6892, allocations: 56.19 kB / 466.9 MB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6903, allocations: 93.94 kB / 467 MB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/0.6908, allocations: 233.8 kB / 467.2 MB, free: 75.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.6909, allocations: 65.61 kB / 467.3 MB, free: 75.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001684/0.6926, allocations: 1.134 MB / 468.4 MB, free: 75.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6926, allocations: 0 / 468.4 MB, free: 75.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004827/0.6974, allocations: 1.544 MB / 470 MB, free: 75.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004827/0.6979, allocations: 210 kB / 470.2 MB, free: 75.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004999/0.7029, allocations: 3.019 MB / 473.2 MB, free: 75.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001889/0.7031, allocations: 92.22 kB / 473.3 MB, free: 75.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002965/0.7061, allocations: 1.472 MB / 474.7 MB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.7092, allocations: 1.155 MB / 475.9 MB, free: 74.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1085/0.8178, allocations: 14.01 MB / 489.9 MB, free: 63.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/0.8206, allocations: 1.855 MB / 491.8 MB, free: 61.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002258/0.8229, allocations: 0.6442 MB / 492.4 MB, free: 61.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.8242, allocations: 0.8017 MB / 493.2 MB, free: 60.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.8242, allocations: 0 / 493.2 MB, free: 60.54 MB / 378.7 MB Notification: Performance of Templates: time 0.08173/0.906, allocations: 61.91 MB / 0.5421 GB, free: 15.34 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.66384385433048]