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.001807/0.001807, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002223/0.002223, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2235/0.2235, allocations: 46.93 MB / 360.9 MB, free: 4.277 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 66.03 MB / 0.5607 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002185/0.3058, allocations: 1.218 MB / 0.5618 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008127/0.3066, allocations: 423.9 kB / 0.5622 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.3067, allocations: 4 kB / 0.5622 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.3067, allocations: 0 / 0.5622 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.976e-05/0.3067, allocations: 0 / 0.5622 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.3072, allocations: 75.72 kB / 0.5623 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.211e-05/0.3073, allocations: 4 kB / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.3073, allocations: 0 / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.3073, allocations: 4 kB / 0.5623 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.3075, allocations: 39.89 kB / 0.5624 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.3075, allocations: 4 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.281e-05/0.3076, allocations: 7.984 kB / 0.5624 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-06/0.3076, allocations: 4 kB / 0.5624 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.3076, allocations: 0 / 0.5624 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.805e-05/0.3077, allocations: 15.8 kB / 0.5624 GB, free: 2.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3077, allocations: 0 / 0.5624 GB, free: 2.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3077, allocations: 0 / 0.5624 GB, free: 2.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3077, allocations: 0 / 0.5624 GB, free: 2.562 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.0002672/0.308, allocations: 234.5 kB / 0.5626 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.308, allocations: 19.91 kB / 0.5626 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.308, allocations: 34.75 kB / 0.5627 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3082, allocations: 8.938 kB / 0.5627 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.3082, allocations: 102.5 kB / 0.5628 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3082, allocations: 384 / 0.5628 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.3083, allocations: 384 / 0.5628 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.764e-05/0.3083, allocations: 34.25 kB / 0.5628 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.3084, allocations: 3.938 kB / 0.5628 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.3084, allocations: 0 / 0.5628 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3084, allocations: 0 / 0.5628 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.418e-05/0.3084, allocations: 0 / 0.5628 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.3087, allocations: 358.5 kB / 0.5632 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.3088, allocations: 173.1 kB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.3088, allocations: 80.14 kB / 0.5634 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.3089, allocations: 83.22 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.3089, allocations: 109.8 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3089, allocations: 0 / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.712e-05/0.309, allocations: 33.59 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3091, allocations: 130.7 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.3092, allocations: 91.83 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3092, allocations: 25.7 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.3092, allocations: 84.27 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.3092, allocations: 0 / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3093, allocations: 21.7 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3094, allocations: 310.8 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-06/0.3094, allocations: 0 / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-06/0.3094, allocations: 0 / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.3094, allocations: 12.89 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3094, allocations: 3.938 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.367e-05/0.3095, allocations: 37.7 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3095, allocations: 4 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.3095, allocations: 4 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3095, allocations: 0 / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.669e-05/0.3096, allocations: 3.984 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3096, allocations: 0 / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.3096, allocations: 0 / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.3096, allocations: 0 / 0.5643 GB, free: 408 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.000105/0.3097, allocations: 197.1 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.3098, allocations: 101 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.3098, allocations: 111.7 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/0.3099, allocations: 188.2 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.553e-05/0.31, allocations: 184.2 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-05/0.3101, allocations: 184.2 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3103, allocations: 381.2 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/0.3104, allocations: 101 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.3104, allocations: 105 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-05/0.3105, allocations: 180.2 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/0.3106, allocations: 184.3 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.19e-05/0.3106, allocations: 180.2 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.295e-05/0.3107, allocations: 180.3 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3109, allocations: 315.9 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.3109, allocations: 105 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.311, allocations: 188.2 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.3111, allocations: 109 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.3111, allocations: 176.3 kB / 0.5673 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.3112, allocations: 104.9 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.3112, allocations: 79.28 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3112, allocations: 0 / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.3114, allocations: 4 kB / 0.5675 GB, free: 12.91 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.0004299/0.3119, allocations: 0.801 MB / 0.5683 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.903e-05/0.3119, allocations: 11.94 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3119, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3119, allocations: 0 / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3123, allocations: 459.8 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.3127, allocations: 182.6 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.313, allocations: 0.6729 MB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.313, allocations: 0 / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.313, allocations: 7.438 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.313, allocations: 0 / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.3375, allocations: 1.001 MB / 0.5706 GB, free: 9.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.29, allocations: 9.891 kB / 0.5706 GB, free: 9.816 MB / 414.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv","/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] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.246806407994882]