Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.0009009/0.0009009, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009201/0.0009201, allocations: 145.3 kB / 24.89 MB, free: 8.727 MB / 18.57 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.9403/0.9403, allocations: 173.4 MB / 201.5 MB, free: 8.773 MB / 186.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 268.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.73e-05, allocations: 5.969 kB / 268.6 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1278/0.1279, allocations: 23.3 MB / 291.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1408, allocations: 7.622 MB / 299.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/0.1438, allocations: 224.2 kB / 299.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008841/0.1526, allocations: 9.295 MB / 309 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005076/0.1577, allocations: 3.036 MB / 312 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.1598, allocations: 1.72 MB / 313.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006053/0.1659, allocations: 11.2 MB / 324.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.1802, allocations: 14.63 MB / 339.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008442/0.1886, allocations: 8.725 MB / 348.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005684/0.1943, allocations: 6.289 MB / 354.6 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001635/0.1959, allocations: 1.664 MB / 356.2 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.1983, allocations: 2.046 MB / 358.3 MB, free: 92 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.2003, allocations: 3.265 MB / 361.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003458/0.2038, allocations: 4.133 MB / 365.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008961/0.2127, allocations: 10.39 MB / 376.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2127, allocations: 0 / 376.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2127, allocations: 0 / 376.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.2129, allocations: 0 / 376.1 MB, free: 14.26 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.01475/0.2276, allocations: 11.87 MB / 387.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2276, allocations: 8.922 kB / 388 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.2445, allocations: 6.345 MB / 394.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005711/0.2502, allocations: 3.592 MB / 397.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.2505, allocations: 0.7024 MB / 398.6 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009784/0.2515, allocations: 0.9257 MB / 399.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008863/0.2604, allocations: 7.728 MB / 407.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.2605, allocations: 19.91 kB / 407.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006475/0.2611, allocations: 388 kB / 407.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003376/0.2615, allocations: 0.5547 MB / 408.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00598/0.2675, allocations: 3.959 MB / 412.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2674/0.5349, allocations: 30.64 MB / 442.8 MB, free: 79.17 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006713/0.5416, allocations: 5.358 MB / 448.2 MB, free: 78.76 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.5427, allocations: 1.012 MB / 449.2 MB, free: 78.72 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.5429, allocations: 104.4 kB / 449.3 MB, free: 78.71 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.543, allocations: 71.16 kB / 449.3 MB, free: 78.67 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 5.54e-06/0.543, allocations: 0 / 449.3 MB, free: 78.67 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01398/0.5569, allocations: 7.719 MB / 457.1 MB, free: 78.04 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.557, allocations: 90.27 kB / 457.1 MB, free: 77.97 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.5589, allocations: 2.361 MB / 459.5 MB, free: 77.63 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.5591, allocations: 91.27 kB / 459.6 MB, free: 77.6 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.5602, allocations: 3.793 MB / 463.4 MB, free: 75.88 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/0.5607, allocations: 1.43 MB / 464.8 MB, free: 75 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008981/0.5616, allocations: 1.052 MB / 465.9 MB, free: 74.91 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.5616, allocations: 308.6 kB / 466.2 MB, free: 74.61 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008084/0.5624, allocations: 0.7798 MB / 466.9 MB, free: 74.58 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.5637, allocations: 2.78 MB / 469.7 MB, free: 71.96 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.5661, allocations: 4.083 MB / 473.8 MB, free: 69.28 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/0.5662, allocations: 25.34 kB / 473.8 MB, free: 69.27 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.004009/0.5702, allocations: 3.934 MB / 477.8 MB, free: 69.07 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.5702, allocations: 34.84 kB / 477.8 MB, free: 69.07 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.856e-05/0.5702, allocations: 73.56 kB / 477.9 MB, free: 69.07 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.572, allocations: 1.031 MB / 478.9 MB, free: 69.02 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/0.5741, allocations: 1.288 MB / 480.2 MB, free: 69.02 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/0.5788, allocations: 4.534 MB / 484.7 MB, free: 65.93 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.5805, allocations: 230.5 kB / 485 MB, free: 65.8 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.5807, allocations: 226.5 kB / 485.2 MB, free: 65.62 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001598/0.5823, allocations: 0.4899 MB / 485.7 MB, free: 65.38 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.5828, allocations: 365.9 kB / 486 MB, free: 65.07 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.586, allocations: 2.746 MB / 488.8 MB, free: 62.79 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002046/0.5881, allocations: 1.764 MB / 490.5 MB, free: 61.07 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.5881, allocations: 15.88 kB / 490.5 MB, free: 61.06 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.5881, allocations: 19.92 kB / 490.6 MB, free: 61.04 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009125/0.5972, allocations: 8.23 MB / 498.8 MB, free: 54.98 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5972, allocations: 4 kB / 498.8 MB, free: 54.98 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.5986, allocations: 0.6749 MB / 499.5 MB, free: 54.37 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.6002, allocations: 0.935 MB / 0.4887 GB, free: 53.46 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.6003, allocations: 82.17 kB / 0.4888 GB, free: 53.44 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/0.6044, allocations: 4.171 MB / 0.4928 GB, free: 50.17 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6044, allocations: 7.469 kB / 0.4928 GB, free: 50.17 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.6081, allocations: 3.382 MB / 0.4961 GB, free: 46.99 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/0.6089, allocations: 0.5041 MB / 0.4966 GB, free: 46.55 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.6092, allocations: 74.81 kB / 0.4967 GB, free: 46.53 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.61, allocations: 118.8 kB / 0.4968 GB, free: 46.47 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003438/0.6103, allocations: 289.5 kB / 0.4971 GB, free: 46.23 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.6105, allocations: 83.11 kB / 0.4972 GB, free: 46.17 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0009012/0.6114, allocations: 1.074 MB / 0.4982 GB, free: 45.29 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6114, allocations: 0 / 0.4982 GB, free: 45.29 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003867/0.6152, allocations: 1.601 MB / 0.4998 GB, free: 43.85 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003975/0.6156, allocations: 282.4 kB / 0.5001 GB, free: 43.68 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003398/0.619, allocations: 3.221 MB / 0.5032 GB, free: 40.96 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.558e-05/0.6191, allocations: 63.94 kB / 0.5033 GB, free: 40.89 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.6207, allocations: 1.688 MB / 0.5049 GB, free: 39.48 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.6225, allocations: 0.8871 MB / 0.5058 GB, free: 38.87 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.6358, allocations: 13.54 MB / 0.519 GB, free: 26.52 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.6371, allocations: 1.841 MB / 0.5208 GB, free: 24.67 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001488/0.6386, allocations: 0.6778 MB / 0.5215 GB, free: 23.99 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.64, allocations: 0.8762 MB / 0.5223 GB, free: 23.14 MB / 378.8 MB Notification: Performance of SimCode: time 1.002e-06/0.64, allocations: 4 kB / 0.5223 GB, free: 23.14 MB / 378.8 MB Notification: Performance of Templates: time 0.1973/0.8373, allocations: 65.59 MB / 0.5864 GB, free: 117.1 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.5478585180826485]