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.001585/0.001585, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002266/0.002266, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.523/1.523, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2414/0.2414, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.001972/0.001972, allocations: 71.84 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3251, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002287/0.3274, allocations: 1.227 MB / 0.563 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.3282, allocations: 407.9 kB / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.3282, allocations: 0 / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.3282, allocations: 0 / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.3283, allocations: 0 / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.3287, allocations: 75.8 kB / 0.5635 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.87e-05/0.3288, allocations: 3.938 kB / 0.5635 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.3288, allocations: 7.984 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.3288, allocations: 0 / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.3291, allocations: 35.97 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-06/0.3291, allocations: 0 / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.3291, allocations: 7.984 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.3291, allocations: 0 / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.275e-05/0.3291, allocations: 0 / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.589e-05/0.3292, allocations: 11.98 kB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3292, allocations: 11.94 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3292, allocations: 0 / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3292, allocations: 0 / 0.5635 GB, free: 2.395 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.0002753/0.3295, allocations: 242.1 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3295, allocations: 8.031 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.3297, allocations: 4.938 kB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.3297, allocations: 102.5 kB / 0.5639 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3298, allocations: 4.375 kB / 0.5639 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.3298, allocations: 4.375 kB / 0.5639 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.3299, allocations: 55.95 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3299, allocations: 8.125 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3299, allocations: 7.938 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.3299, allocations: 0 / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.44e-05/0.3299, allocations: 0 / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.3302, allocations: 331.1 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3303, allocations: 177.1 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.3303, allocations: 80.14 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.3304, allocations: 87.09 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.3304, allocations: 105.8 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.3304, allocations: 0 / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.935e-05/0.3305, allocations: 29.7 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.3306, allocations: 134.7 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.3307, allocations: 89.86 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3307, allocations: 25.7 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.3307, allocations: 84.14 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3307, allocations: 0 / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.3308, allocations: 13.7 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3309, allocations: 310.8 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.3309, allocations: 4 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.3309, allocations: 7.938 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.3309, allocations: 13.08 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3309, allocations: 0 / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.183e-05/0.331, allocations: 37.64 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.331, allocations: 4 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.331, allocations: 0 / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.331, allocations: 3.938 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.3311, allocations: 4 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3311, allocations: 3.984 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.3311, allocations: 0 / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.3311, allocations: 0 / 0.5654 GB, free: 276 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.0001003/0.3312, allocations: 189.2 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.3313, allocations: 108.9 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.3313, allocations: 111.8 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-05/0.3314, allocations: 184.2 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.766e-05/0.3315, allocations: 180.2 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-05/0.3316, allocations: 176.3 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.3318, allocations: 357.9 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-05/0.3318, allocations: 101 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.3319, allocations: 108.9 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.86e-05/0.332, allocations: 184.2 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.332, allocations: 184.3 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.972e-05/0.3321, allocations: 180.2 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.569e-05/0.3322, allocations: 180.3 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3323, allocations: 308 kB / 0.5679 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.3324, allocations: 112.9 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.3325, allocations: 184.3 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.3326, allocations: 105 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.3326, allocations: 184.2 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.3327, allocations: 105 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.3327, allocations: 79.22 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3327, allocations: 4.094 kB / 0.5686 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.3329, allocations: 0 / 0.5686 GB, free: 12.83 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.0001199/0.3331, allocations: 170.5 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.3331, allocations: 7.938 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3331, allocations: 0 / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3331, allocations: 0 / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3335, allocations: 459.7 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.3337, allocations: 182.6 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.3338, allocations: 51.36 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.3338, allocations: 11.5 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3338, allocations: 0 / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of Templates: time 0.001462/0.3353, allocations: 331.7 kB / 0.5698 GB, free: 11.57 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/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: 7.419826400000602]