Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001663/0.001663, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00195/0.00195, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3051/0.3051, allocations: 46.94 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 59.91 kB / 0.4966 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 66.05 MB / 0.5611 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002316/0.3399, allocations: 1.218 MB / 0.5623 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.3408, allocations: 427.8 kB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.3408, allocations: 0 / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.3408, allocations: 0 / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.3408, allocations: 0 / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.3414, allocations: 75.8 kB / 0.5628 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.3414, allocations: 7.938 kB / 0.5628 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.3415, allocations: 0 / 0.5628 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.3415, allocations: 7.938 kB / 0.5628 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.3417, allocations: 35.95 kB / 0.5628 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3417, allocations: 4 kB / 0.5628 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.187e-05/0.3418, allocations: 4 kB / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.986e-06/0.3418, allocations: 0 / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.3418, allocations: 0 / 0.5629 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.534e-05/0.3419, allocations: 19.77 kB / 0.5629 GB, free: 2.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3419, allocations: 4 kB / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3419, allocations: 0 / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3419, allocations: 0 / 0.5629 GB, free: 2.629 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.0002991/0.3422, allocations: 234.5 kB / 0.5631 GB, free: 2.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3423, allocations: 12.03 kB / 0.5631 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.3424, allocations: 8.922 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.3425, allocations: 102.5 kB / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.3425, allocations: 4.375 kB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3425, allocations: 384 / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.611e-05/0.3426, allocations: 34.27 kB / 0.5633 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3426, allocations: 4.125 kB / 0.5633 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3426, allocations: 7.938 kB / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3427, allocations: 0 / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.3427, allocations: 0 / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.343, allocations: 350.6 kB / 0.5636 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3431, allocations: 177.1 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.3432, allocations: 84.08 kB / 0.5638 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.3432, allocations: 79.22 kB / 0.5639 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.3433, allocations: 105.8 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.3433, allocations: 0 / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.828e-05/0.3434, allocations: 37.64 kB / 0.5641 GB, free: 1.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.3434, allocations: 130.7 kB / 0.5642 GB, free: 1.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.3435, allocations: 97.8 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3435, allocations: 25.7 kB / 0.5643 GB, free: 1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.3436, allocations: 82.95 kB / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.3436, allocations: 0 / 0.5644 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.3436, allocations: 13.72 kB / 0.5644 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3437, allocations: 314.8 kB / 0.5647 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.3438, allocations: 4.125 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.3438, allocations: 3.938 kB / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.3438, allocations: 16.88 kB / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3438, allocations: 0 / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.992e-05/0.3439, allocations: 33.64 kB / 0.5648 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3439, allocations: 6.812 kB / 0.5648 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.3439, allocations: 0 / 0.5648 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3439, allocations: 4 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.388e-05/0.3439, allocations: 0 / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3439, allocations: 4.094 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-06/0.344, allocations: 0 / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.344, allocations: 0 / 0.5648 GB, free: 0.5039 MB / 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.0001005/0.3441, allocations: 189.1 kB / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.3441, allocations: 112.9 kB / 0.5651 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.3442, allocations: 107.8 kB / 0.5652 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.286e-05/0.3443, allocations: 184.2 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-05/0.3444, allocations: 180.3 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.901e-05/0.3444, allocations: 176.3 kB / 0.5657 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3447, allocations: 381.2 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-05/0.3447, allocations: 105 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.3448, allocations: 104.9 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.3448, allocations: 180.3 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.345, allocations: 180.2 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001063/0.3451, allocations: 184.2 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.304e-05/0.3451, allocations: 184.2 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.3453, allocations: 311.9 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.3454, allocations: 109 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.3455, allocations: 188.3 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3456, allocations: 105 kB / 0.5676 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.3457, allocations: 180.2 kB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.3458, allocations: 105 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.3458, allocations: 83.28 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3458, allocations: 0 / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000225/0.346, allocations: 0 / 0.568 GB, free: 13.03 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.0001439/0.3462, allocations: 171 kB / 0.5681 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.3463, allocations: 11.94 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3463, allocations: 3.938 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3463, allocations: 0 / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3467, allocations: 463.8 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.347, allocations: 153 kB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3473, allocations: 0.669 MB / 0.5694 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.3473, allocations: 0 / 0.5694 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.3474, allocations: 7.438 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3474, allocations: 4 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of Templates: time 0.002156/0.3495, allocations: 172.8 kB / 0.5696 GB, free: 11.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.1145021768752486]