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.001385/0.001385, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002168/0.002168, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2233/0.2233, allocations: 46.95 MB / 360.9 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: "" <> 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.002117/0.002117, allocations: 63.91 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2905, allocations: 66.04 MB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002406/0.293, allocations: 1.21 MB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.2938, allocations: 411.9 kB / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.2938, allocations: 0 / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.2939, allocations: 0 / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.146e-05/0.2939, allocations: 0 / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.2945, allocations: 75.73 kB / 0.5622 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.2945, allocations: 4 kB / 0.5622 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.2945, allocations: 0 / 0.5622 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.2946, allocations: 0 / 0.5622 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.2948, allocations: 39.95 kB / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.2949, allocations: 0 / 0.5623 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.2949, allocations: 8 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2949, allocations: 3.938 kB / 0.5623 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.2949, allocations: 4 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.947e-05/0.295, allocations: 19.77 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.295, allocations: 4 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.295, allocations: 0 / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.295, allocations: 0 / 0.5623 GB, free: 2.336 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.0003083/0.2954, allocations: 234.5 kB / 0.5625 GB, free: 2.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2954, allocations: 16.02 kB / 0.5626 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.2954, allocations: 30.75 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.2956, allocations: 4.938 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.2957, allocations: 110.5 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2957, allocations: 384 / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.2957, allocations: 4.312 kB / 0.5627 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2958, allocations: 59.97 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2958, allocations: 7.922 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2958, allocations: 0 / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2958, allocations: 0 / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.2958, allocations: 0 / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.2962, allocations: 346.6 kB / 0.5631 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2963, allocations: 181 kB / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.2963, allocations: 80.14 kB / 0.5633 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.2964, allocations: 75.28 kB / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.2964, allocations: 113.8 kB / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2964, allocations: 4 kB / 0.5635 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.15e-05/0.2965, allocations: 29.66 kB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.2966, allocations: 130.6 kB / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.2967, allocations: 99.83 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2967, allocations: 25.7 kB / 0.5638 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.2967, allocations: 84.08 kB / 0.5639 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.2967, allocations: 0 / 0.5639 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.2968, allocations: 13.72 kB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2969, allocations: 314.8 kB / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.2969, allocations: 0 / 0.5642 GB, free: 220 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.2969, allocations: 4.125 kB / 0.5642 GB, free: 216 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.2969, allocations: 12.89 kB / 0.5642 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2969, allocations: 3.938 kB / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.228e-05/0.297, allocations: 37.64 kB / 0.5643 GB, free: 152 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.297, allocations: 6.656 kB / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.297, allocations: 0 / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2971, allocations: 4 kB / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.976e-05/0.2971, allocations: 0 / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2971, allocations: 0 / 0.5643 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.2971, allocations: 4.078 kB / 0.5643 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2971, allocations: 4 kB / 0.5643 GB, free: 136 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.000121/0.2972, allocations: 193 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.2973, allocations: 101 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.2974, allocations: 115.7 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.352e-05/0.2974, allocations: 176.3 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-05/0.2975, allocations: 180.3 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.188e-05/0.2976, allocations: 188.2 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.2978, allocations: 369.3 kB / 0.5655 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/0.2979, allocations: 104.9 kB / 0.5656 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.2979, allocations: 105 kB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/0.298, allocations: 188.2 kB / 0.5659 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/0.2981, allocations: 184.1 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-05/0.2982, allocations: 180.3 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.583e-05/0.2983, allocations: 184.2 kB / 0.5664 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.2985, allocations: 311.9 kB / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.2985, allocations: 109 kB / 0.5668 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.2986, allocations: 180.3 kB / 0.567 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.2987, allocations: 104.9 kB / 0.5671 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.2988, allocations: 188.2 kB / 0.5673 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.2989, allocations: 104.9 kB / 0.5674 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.331e-05/0.2989, allocations: 79.28 kB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2989, allocations: 3.938 kB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.2991, allocations: 4 kB / 0.5675 GB, free: 12.65 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.0004461/0.2996, allocations: 0.8077 MB / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.961e-05/0.2996, allocations: 0 / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2996, allocations: 3.938 kB / 0.5683 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.2996, allocations: 0 / 0.5683 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3, allocations: 455.7 kB / 0.5687 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.3004, allocations: 186.8 kB / 0.5689 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.224e-05/0.3004, allocations: 59.34 kB / 0.5689 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.3004, allocations: 0 / 0.5689 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.3005, allocations: 7.438 kB / 0.5689 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3005, allocations: 0 / 0.5689 GB, free: 11.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.3263, allocations: 1.383 MB / 0.5703 GB, free: 9.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.5, allocations: 3.047 kB / 0.5703 GB, free: 9.797 MB / 414.1 MB " [Timeout remaining time 648] (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.472578018903732]