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.001837/0.001837, allocations: 103.6 kB / 21.19 MB, free: 0.5156 MB / 14.72 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.002267/0.002267, allocations: 213.9 kB / 24.48 MB, free: 3.832 MB / 14.72 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 1.51/1.51, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2359/0.2359, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 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 0.002417/0.002417, allocations: 87.84 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3279, allocations: 66.08 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002448/0.3304, allocations: 1.224 MB / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3314, allocations: 407.9 kB / 0.5635 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.3314, allocations: 0 / 0.5635 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.3314, allocations: 0 / 0.5635 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.3315, allocations: 0 / 0.5635 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.3322, allocations: 71.73 kB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.714e-05/0.3322, allocations: 11.98 kB / 0.5636 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.3322, allocations: 4 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.3323, allocations: 0 / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.3325, allocations: 39.89 kB / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3325, allocations: 0 / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.3326, allocations: 8 kB / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.3326, allocations: 0 / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.3326, allocations: 0 / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.454e-05/0.3327, allocations: 11.78 kB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3327, allocations: 0 / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3327, allocations: 8 kB / 0.5636 GB, free: 2.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3327, allocations: 0 / 0.5636 GB, free: 2.191 MB / 398.1 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.0003012/0.333, allocations: 242.5 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.333, allocations: 8.031 kB / 0.5639 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.3332, allocations: 8.875 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.3332, allocations: 106.5 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3333, allocations: 4.312 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3333, allocations: 4.375 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.3334, allocations: 55.97 kB / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3334, allocations: 192 / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3334, allocations: 7.938 kB / 0.564 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3334, allocations: 0 / 0.564 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.53e-05/0.3334, allocations: 4 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.3338, allocations: 331.2 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3339, allocations: 169.1 kB / 0.5645 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.3339, allocations: 88.16 kB / 0.5646 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.334, allocations: 79.22 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.3341, allocations: 105.8 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3341, allocations: 0 / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.632e-05/0.3341, allocations: 29.66 kB / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.3342, allocations: 138.6 kB / 0.565 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.3343, allocations: 101.5 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3343, allocations: 29.69 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.3344, allocations: 80.14 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.3344, allocations: 4 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.3344, allocations: 9.719 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3345, allocations: 310.8 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.3346, allocations: 4 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.3346, allocations: 0 / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.247e-05/0.3346, allocations: 9.078 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3346, allocations: 4 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.589e-05/0.3347, allocations: 45.58 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3347, allocations: 6.031 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3347, allocations: 3.984 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3347, allocations: 0 / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.005e-05/0.3348, allocations: 4 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3348, allocations: 0 / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.3348, allocations: 0 / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.3348, allocations: 0 / 0.5655 GB, free: 60 kB / 398.1 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 0.0001312/0.3349, allocations: 181.2 kB / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.335, allocations: 112.9 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.3351, allocations: 111.7 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.514e-05/0.3351, allocations: 184.2 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.151e-05/0.3352, allocations: 180.3 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.213e-05/0.3353, allocations: 184.2 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3356, allocations: 349.9 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-05/0.3356, allocations: 112.8 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.3357, allocations: 105 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.749e-05/0.3358, allocations: 184.2 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.3358, allocations: 180.2 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.468e-05/0.3359, allocations: 180.3 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.083e-05/0.336, allocations: 184.2 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.3362, allocations: 308 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3362, allocations: 109 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.3363, allocations: 188.2 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.3364, allocations: 104.9 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.3365, allocations: 184.2 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.3366, allocations: 108.9 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.3366, allocations: 75.28 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3366, allocations: 0 / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.3368, allocations: 4.094 kB / 0.5687 GB, free: 12.61 MB / 414.1 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 0.0001533/0.337, allocations: 174 kB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.524e-05/0.337, allocations: 0 / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.337, allocations: 0 / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.3371, allocations: 7.984 kB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3375, allocations: 455.7 kB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.3378, allocations: 182.6 kB / 0.5695 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.3378, allocations: 55.36 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.3378, allocations: 7.438 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3378, allocations: 4.062 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Templates: time 0.001632/0.3395, allocations: 323.9 kB / 0.5699 GB, free: 11.36 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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: 7.387337693944573]