Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001179/0.001179, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.004264/0.004264, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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.9646/0.9646, allocations: 177 MB / 205.2 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 34.86 MB / 296.6 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 378.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.52e-05, allocations: 2.312 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001409/0.001424, allocations: 1.248 MB / 380 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006172/0.002041, allocations: 419.8 kB / 380.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.00206, allocations: 0 / 380.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.002077, allocations: 0 / 380.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.637e-05/0.002103, allocations: 0 / 380.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.002543, allocations: 79.67 kB / 380.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.073e-05/0.002584, allocations: 0 / 380.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.002619, allocations: 4 kB / 380.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.002644, allocations: 7.984 kB / 380.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.002844, allocations: 35.95 kB / 380.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.002853, allocations: 3.938 kB / 380.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.887e-05/0.002912, allocations: 8 kB / 380.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-06/0.00292, allocations: 0 / 380.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.002936, allocations: 0 / 380.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.786e-05/0.003013, allocations: 11.94 kB / 380.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003015, allocations: 4 kB / 380.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.003017, allocations: 0 / 380.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.003021, allocations: 0 / 380.6 MB, free: 0.6016 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002165/0.003237, allocations: 348.4 kB / 380.9 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.00327, allocations: 8.031 kB / 380.9 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.003372, allocations: 4.938 kB / 380.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.598e-05/0.003428, allocations: 112.6 kB / 381 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.003437, allocations: 384 / 381 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.003445, allocations: 384 / 381 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.062e-05/0.003525, allocations: 55.97 kB / 381.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.003531, allocations: 4.188 kB / 381.1 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.003539, allocations: 4.359 kB / 381.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.003545, allocations: 384 / 381.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.00357, allocations: 7.984 kB / 381.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.003837, allocations: 478.2 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.728e-05/0.003914, allocations: 269.5 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.003947, allocations: 126.9 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.003973, allocations: 119.2 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.004013, allocations: 160.5 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.004014, allocations: 0 / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.284e-05/0.004067, allocations: 33.64 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.004126, allocations: 170.6 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.004218, allocations: 153.9 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.004226, allocations: 25.7 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.004277, allocations: 139.2 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.00428, allocations: 0 / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.004305, allocations: 15.38 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.004424, allocations: 496.1 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.004432, allocations: 4 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.004436, allocations: 0 / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.004459, allocations: 19.81 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.004461, allocations: 0 / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.651e-05/0.004537, allocations: 33.7 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004549, allocations: 4 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.004555, allocations: 3.938 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.004569, allocations: 7.984 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.004604, allocations: 0 / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.004609, allocations: 0 / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-06/0.004617, allocations: 3.938 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.004621, allocations: 3.828 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/0.004708, allocations: 279.8 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.004753, allocations: 148.8 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.004798, allocations: 151.8 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-05/0.004862, allocations: 276 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.206e-05/0.004924, allocations: 264.1 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-05/0.004986, allocations: 272.1 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.005153, allocations: 491.8 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-05/0.005187, allocations: 148.9 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.005225, allocations: 152.8 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-05/0.005282, allocations: 264.1 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.005345, allocations: 272.1 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.328e-05/0.005408, allocations: 276 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.066e-05/0.005469, allocations: 264.1 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.005596, allocations: 448 kB / 386.9 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.005635, allocations: 152.9 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/0.005705, allocations: 268 kB / 387.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.005763, allocations: 152.8 kB / 387.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.005831, allocations: 272.3 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.005864, allocations: 144.9 kB / 387.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.214e-05/0.005896, allocations: 119.2 kB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.005896, allocations: 4.094 kB / 388 MB, free: 8.719 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001325/0.006029, allocations: 4 kB / 388 MB, free: 8.715 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.868e-05/0.006117, allocations: 210.4 kB / 388.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.685e-05/0.006174, allocations: 23.66 kB / 388.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.006176, allocations: 0 / 388.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.006177, allocations: 0 / 388.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.006455, allocations: 0.7062 MB / 389 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.006681, allocations: 203.1 kB / 389.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.006714, allocations: 59.42 kB / 389.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.368e-05/0.006728, allocations: 0 / 389.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.006745, allocations: 8.5 kB / 389.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006746, allocations: 0 / 389.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of Templates: time 0.001447/0.008193, allocations: 196.9 kB / 389.4 MB, free: 7.254 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.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: 2.8929056429769844]