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.001281/0.001281, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001382/0.001382, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.408/1.408, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.228/0.228, allocations: 46.96 MB / 361.6 MB, free: 4.016 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.001964/0.001964, allocations: 67.89 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002322/0.2963, allocations: 1.218 MB / 0.563 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.2971, allocations: 407.9 kB / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.122e-05/0.2971, allocations: 0 / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.2971, allocations: 0 / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.354e-05/0.2971, allocations: 4 kB / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.2976, allocations: 71.72 kB / 0.5635 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.499e-05/0.2976, allocations: 4 kB / 0.5635 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.2977, allocations: 3.984 kB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.2977, allocations: 4 kB / 0.5635 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.2979, allocations: 47.89 kB / 0.5635 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.752e-06/0.2979, allocations: 0 / 0.5635 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-05/0.2979, allocations: 8 kB / 0.5635 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.2979, allocations: 0 / 0.5635 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.2979, allocations: 0 / 0.5635 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.225e-05/0.298, allocations: 7.797 kB / 0.5635 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.298, allocations: 0 / 0.5635 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.298, allocations: 0 / 0.5635 GB, free: 2.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.298, allocations: 0 / 0.5635 GB, free: 2.371 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.0002915/0.2983, allocations: 246.5 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2983, allocations: 12.03 kB / 0.5638 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2985, allocations: 4.938 kB / 0.5638 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.707e-05/0.2986, allocations: 110.5 kB / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.2986, allocations: 384 / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.2986, allocations: 384 / 0.5639 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.2987, allocations: 55.97 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2987, allocations: 192 / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2987, allocations: 3.938 kB / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2987, allocations: 0 / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.2987, allocations: 4 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.299, allocations: 335.2 kB / 0.5643 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.2991, allocations: 177.1 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.2992, allocations: 80.14 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.2992, allocations: 83.22 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.2992, allocations: 109.8 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2992, allocations: 0 / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.38e-05/0.2993, allocations: 29.66 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.2994, allocations: 130.6 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.2995, allocations: 93.86 kB / 0.5649 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2995, allocations: 29.77 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.2995, allocations: 95.78 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.2995, allocations: 0 / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.2996, allocations: 13.72 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2997, allocations: 310.8 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-06/0.2997, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.2997, allocations: 4 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.2997, allocations: 8.891 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2997, allocations: 0 / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.715e-05/0.2998, allocations: 41.58 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2998, allocations: 14.75 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.2998, allocations: 0 / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2999, allocations: 0 / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.553e-05/0.2999, allocations: 3.984 kB / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2999, allocations: 0 / 0.5654 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.2999, allocations: 4 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.2999, 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 0.0001005/0.3, allocations: 181.1 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3001, allocations: 108.9 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.3002, allocations: 111.7 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.294e-05/0.3002, allocations: 188.2 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.062e-05/0.3003, allocations: 184.3 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.345e-05/0.3004, allocations: 180.2 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3006, allocations: 345.9 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.259e-05/0.3007, allocations: 108.9 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.3007, allocations: 105 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.144e-05/0.3008, allocations: 180.2 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/0.3009, allocations: 188.2 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.751e-05/0.301, allocations: 176.3 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.033e-05/0.301, allocations: 180.2 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3012, allocations: 312 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.3012, allocations: 116.9 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.3013, allocations: 180.3 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.3014, allocations: 112.9 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.3015, allocations: 176.3 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.3015, allocations: 104.9 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.3016, allocations: 83.28 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3016, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.3018, allocations: 0 / 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.0001136/0.3019, allocations: 170.5 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.414e-05/0.302, allocations: 4.094 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.302, allocations: 0 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-06/0.302, allocations: 7.938 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.0003845/0.3024, allocations: 455.7 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.0002239/0.3026, allocations: 160.9 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.3026, allocations: 55.36 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.426e-05/0.3027, allocations: 0 / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.3027, allocations: 7.438 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3027, allocations: 0 / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.001891/0.3046, allocations: 184 kB / 0.5696 GB, free: 11.71 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 cvode -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.803911271010293]