Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001064/0.001064, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002734, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001103/0.001103, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.002131, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9862/0.9862, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09639/1.083, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.389e-05, allocations: 5.406 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01785/0.01788, allocations: 23.6 MB / 268.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.154/0.1718, allocations: 8.33 MB / 277.2 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004903/0.1767, allocations: 213.2 kB / 277.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01321/0.19, allocations: 8.869 MB / 286.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008774/0.1987, allocations: 3.131 MB / 289.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.202, allocations: 1.837 MB / 291.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.213, allocations: 11.76 MB / 303 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.2296, allocations: 14.57 MB / 317.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/0.2411, allocations: 9.357 MB / 326.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007288/0.2484, allocations: 6.486 MB / 333.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002526/0.2509, allocations: 1.711 MB / 335.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.2543, allocations: 2.168 MB / 337.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.2559, allocations: 2.831 MB / 340.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003396/0.2593, allocations: 3.58 MB / 343.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007925/0.2673, allocations: 10.27 MB / 354 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.2673, allocations: 0 / 354 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2673, allocations: 0 / 354 MB, free: 10.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.2674, allocations: 0 / 354 MB, free: 10.53 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.0207/0.2881, allocations: 14.62 MB / 368.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2881, allocations: 12.62 kB / 368.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/0.3075, allocations: 6.373 MB / 375 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009064/0.3166, allocations: 3.835 MB / 378.8 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/0.3171, allocations: 0.72 MB / 379.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002986/0.3201, allocations: 0.9616 MB / 380.5 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.3387, allocations: 7.958 MB / 388.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002856/0.339, allocations: 10.22 kB / 388.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/0.341, allocations: 399.6 kB / 388.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004164/0.3414, allocations: 0.5473 MB / 389.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01165/0.353, allocations: 4.078 MB / 393.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05113/0.4042, allocations: 31.19 MB / 424.7 MB, free: 4.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1568/0.561, allocations: 4.757 MB / 429.4 MB, free: 99.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.5636, allocations: 1.161 MB / 430.6 MB, free: 99.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003631/0.564, allocations: 142.7 kB / 430.7 MB, free: 99.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.564, allocations: 84.31 kB / 430.8 MB, free: 99.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=447): time 6.562e-06/0.564, allocations: 1 kB / 430.8 MB, free: 99.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=452): time 0.02547/0.5895, allocations: 11.31 MB / 442.1 MB, free: 98.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.5895, allocations: 99.05 kB / 442.2 MB, free: 98.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.5928, allocations: 3.306 MB / 445.5 MB, free: 98.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003916/0.5932, allocations: 101.4 kB / 445.6 MB, free: 98.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001144/0.5944, allocations: 3.873 MB / 449.5 MB, free: 95.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009529/0.5953, allocations: 1.589 MB / 451.1 MB, free: 94.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.5965, allocations: 1.107 MB / 452.2 MB, free: 94.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.5965, allocations: 304.4 kB / 452.5 MB, free: 94.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.5976, allocations: 0.8446 MB / 453.3 MB, free: 94.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.599, allocations: 2.822 MB / 456.1 MB, free: 91.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.6024, allocations: 4.555 MB / 460.7 MB, free: 89.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.086e-05/0.6025, allocations: 20 kB / 460.7 MB, free: 89.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.00572/0.6082, allocations: 4.199 MB / 464.9 MB, free: 88.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.6082, allocations: 37.94 kB / 465 MB, free: 88.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.661e-05/0.6083, allocations: 66.31 kB / 465 MB, free: 88.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.6106, allocations: 1.175 MB / 466.2 MB, free: 88.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/0.6135, allocations: 1.443 MB / 467.6 MB, free: 88.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006119/0.6196, allocations: 6.415 MB / 474.1 MB, free: 86.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.6227, allocations: 222.3 kB / 474.3 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008438/0.6236, allocations: 237.8 kB / 474.5 MB, free: 86.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00226/0.6258, allocations: 0.5007 MB / 475 MB, free: 85.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007625/0.6266, allocations: 406.1 kB / 475.4 MB, free: 85.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.631, allocations: 4.193 MB / 479.6 MB, free: 83.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002283/0.6333, allocations: 1.978 MB / 481.6 MB, free: 81.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.6333, allocations: 12 kB / 481.6 MB, free: 81.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.6333, allocations: 23.91 kB / 481.6 MB, free: 81.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.6458, allocations: 8.74 MB / 490.4 MB, free: 73.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.6458, allocations: 8 kB / 490.4 MB, free: 73.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001775/0.6476, allocations: 0.8034 MB / 491.2 MB, free: 72.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.649, allocations: 0.5856 MB / 491.7 MB, free: 72.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.6508, allocations: 1.053 MB / 492.8 MB, free: 71.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.651, allocations: 104 kB / 492.9 MB, free: 71.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/0.6561, allocations: 6.035 MB / 498.9 MB, free: 65.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.6561, allocations: 11.47 kB / 498.9 MB, free: 65.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.6605, allocations: 3.924 MB / 0.4911 GB, free: 61.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005829/0.6611, allocations: 100.6 kB / 0.4912 GB, free: 61.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6622, allocations: 108 kB / 0.4913 GB, free: 61.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004366/0.6627, allocations: 338.2 kB / 0.4916 GB, free: 60.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/0.6629, allocations: 99.95 kB / 0.4917 GB, free: 60.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001493/0.6643, allocations: 1.599 MB / 0.4933 GB, free: 59.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6643, allocations: 0 / 0.4933 GB, free: 59.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004771/0.6691, allocations: 1.708 MB / 0.4949 GB, free: 57.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002345/0.6715, allocations: 0.668 MB / 0.4956 GB, free: 57.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00545/0.6769, allocations: 3.719 MB / 0.4992 GB, free: 53.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002367/0.6772, allocations: 114.6 kB / 0.4993 GB, free: 53.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003447/0.6806, allocations: 2.554 MB / 0.5018 GB, free: 51.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/0.6853, allocations: 7.498 MB / 0.5091 GB, free: 42.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05633/0.7416, allocations: 15.12 MB / 0.5239 GB, free: 27.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.7442, allocations: 1.986 MB / 0.5258 GB, free: 25.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002292/0.7465, allocations: 0.7277 MB / 0.5266 GB, free: 24.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/0.7482, allocations: 0.9364 MB / 0.5275 GB, free: 23.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7482, allocations: 0 / 0.5275 GB, free: 23.5 MB / 394.7 MB Notification: Performance of Templates: time 0.2336/0.9818, allocations: 75.59 MB / 0.6013 GB, free: 97.44 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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: 5.060358940623701]