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.001769/0.001769, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002185/0.002185, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2251/0.2251, allocations: 46.97 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] 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.002967/0.002967, allocations: 71.89 kB / 0.4973 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3162, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00221/0.3184, allocations: 1.218 MB / 0.563 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.3192, allocations: 404 kB / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.16e-05/0.3192, allocations: 0 / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.3192, allocations: 0 / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.3192, allocations: 4 kB / 0.5634 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.3197, allocations: 67.73 kB / 0.5635 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.3197, allocations: 8 kB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.3198, allocations: 4 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.3198, allocations: 4 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.32, allocations: 39.89 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.32, allocations: 0 / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.3201, allocations: 8 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.3201, allocations: 0 / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.238e-05/0.3201, allocations: 0 / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.579e-05/0.3202, allocations: 19.7 kB / 0.5635 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3202, allocations: 0 / 0.5635 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3202, allocations: 4 kB / 0.5635 GB, free: 2.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.3202, allocations: 0 / 0.5635 GB, free: 2.359 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.0002821/0.3205, allocations: 242.5 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3205, allocations: 8.031 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3206, allocations: 8.922 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/0.3207, allocations: 102.5 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3207, allocations: 384 / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.3207, allocations: 384 / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.3208, allocations: 63.95 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3208, allocations: 192 / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3209, allocations: 3.938 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3209, allocations: 4 kB / 0.564 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.3209, allocations: 7.984 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.3212, allocations: 331.1 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.806e-05/0.3213, allocations: 165.1 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.3213, allocations: 80.14 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.3214, allocations: 83.22 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.3214, allocations: 105.8 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3214, allocations: 0 / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.842e-05/0.3215, allocations: 41.52 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.3215, allocations: 126.7 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.3216, allocations: 101.9 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3216, allocations: 25.7 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.3217, allocations: 82.95 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.3217, allocations: 0 / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.3217, allocations: 17.66 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3218, allocations: 310.8 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.3218, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-06/0.3219, allocations: 4 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.3219, allocations: 12.88 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3219, allocations: 4.188 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.61e-05/0.322, allocations: 41.58 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.322, allocations: 8 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.322, allocations: 0 / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.322, allocations: 0 / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.324e-05/0.322, allocations: 0 / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.322, allocations: 0 / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.322, allocations: 4 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.322, allocations: 0 / 0.5654 GB, free: 236 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 9.584e-05/0.3221, allocations: 181.1 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.3222, allocations: 120.9 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.3223, allocations: 107.8 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/0.3224, allocations: 180.3 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.472e-05/0.3224, allocations: 184.2 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.045e-05/0.3225, allocations: 176.3 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3227, allocations: 357.8 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-05/0.3228, allocations: 101 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.3228, allocations: 105 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.19e-05/0.3229, allocations: 184.1 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.3229, allocations: 184.2 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.445e-05/0.323, allocations: 188.2 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-05/0.3231, allocations: 176.3 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.3232, allocations: 308 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.3233, allocations: 112.9 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.3234, allocations: 188.2 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.3235, allocations: 104.9 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.3235, allocations: 180.3 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.3236, allocations: 104.9 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.599e-05/0.3236, allocations: 83.27 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3236, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.3238, allocations: 96 / 0.5686 GB, free: 12.79 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.0001192/0.3239, allocations: 174.5 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.489e-05/0.324, allocations: 0 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.324, allocations: 0 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.324, allocations: 4 kB / 0.5688 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3244, allocations: 459.6 kB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.3246, allocations: 156.9 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.3246, allocations: 59.34 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.328e-05/0.3246, allocations: 0 / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.3247, allocations: 11.5 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3247, allocations: 0 / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.00202/0.3267, allocations: 180.8 kB / 0.5696 GB, free: 11.7 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 -s gbode -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/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_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: 4.931632755004102]