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.001599/0.001599, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001763/0.001763, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2192/0.2192, allocations: 46.96 MB / 360.9 MB, free: 4.055 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.001942/0.001942, allocations: 71.88 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002292/0.3104, allocations: 1.218 MB / 0.5618 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.3111, allocations: 404 kB / 0.5622 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.186e-05/0.3112, allocations: 0 / 0.5622 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.3112, allocations: 0 / 0.5622 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.395e-05/0.3112, allocations: 3.984 kB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.3117, allocations: 71.73 kB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.047e-05/0.3117, allocations: 4 kB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.3118, allocations: 3.984 kB / 0.5622 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.449e-05/0.3118, allocations: 3.938 kB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.312, allocations: 43.95 kB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.312, allocations: 0 / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.693e-05/0.3121, allocations: 4 kB / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.3121, allocations: 0 / 0.5623 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.3121, allocations: 4 kB / 0.5623 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.119e-05/0.3122, allocations: 15.8 kB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3122, allocations: 0 / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3122, allocations: 0 / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3122, allocations: 3.938 kB / 0.5623 GB, free: 2.453 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.0002789/0.3125, allocations: 234.5 kB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3125, allocations: 16.03 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.3125, allocations: 30.75 kB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.3126, allocations: 4.938 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.165e-05/0.3127, allocations: 114.5 kB / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.3127, allocations: 384 / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.3128, allocations: 384 / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3129, allocations: 55.97 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3129, allocations: 3.938 kB / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3129, allocations: 0 / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3129, allocations: 0 / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.3129, allocations: 4 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.3132, allocations: 358.6 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.3133, allocations: 173 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.3133, allocations: 80.14 kB / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.3134, allocations: 75.28 kB / 0.5634 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.3134, allocations: 113.8 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3134, allocations: 0 / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.648e-05/0.3135, allocations: 33.59 kB / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.3136, allocations: 126.7 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.814e-05/0.3137, allocations: 99.81 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3137, allocations: 29.83 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.3137, allocations: 80.14 kB / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3137, allocations: 0 / 0.5639 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3137, allocations: 17.72 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3139, allocations: 310.8 kB / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.3139, allocations: 0 / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.3139, allocations: 0 / 0.5642 GB, free: 344 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.3139, allocations: 12.89 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3139, allocations: 3.938 kB / 0.5642 GB, free: 324 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.211e-05/0.314, allocations: 41.69 kB / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.314, allocations: 4 kB / 0.5643 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.314, allocations: 4 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.314, allocations: 0 / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.575e-05/0.3141, allocations: 0 / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3141, allocations: 0 / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-06/0.3141, allocations: 0 / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3141, allocations: 4 kB / 0.5643 GB, free: 264 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.0001046/0.3142, allocations: 189.1 kB / 0.5644 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.3143, allocations: 101 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.3143, allocations: 123.7 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/0.3144, allocations: 180.2 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.042e-05/0.3145, allocations: 180.2 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-05/0.3146, allocations: 180.3 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3148, allocations: 381.3 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.46e-05/0.3148, allocations: 108.9 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.3149, allocations: 101 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.292e-05/0.315, allocations: 180.2 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.315, allocations: 184.2 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.532e-05/0.3151, allocations: 184.2 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-05/0.3152, allocations: 180.2 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3153, allocations: 307.9 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.3154, allocations: 113 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.3155, allocations: 184.2 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.3155, allocations: 108.9 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.3156, allocations: 176.3 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.3157, allocations: 108.9 kB / 0.5674 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.3157, allocations: 79.28 kB / 0.5675 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3157, allocations: 0 / 0.5675 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.3159, allocations: 0 / 0.5675 GB, free: 12.78 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.0004239/0.3164, allocations: 0.8088 MB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.3164, allocations: 3.938 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3164, allocations: 0 / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.3165, allocations: 4 kB / 0.5683 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.3168, allocations: 458.6 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.3172, allocations: 186.6 kB / 0.5689 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.3173, allocations: 55.36 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.508e-05/0.3173, allocations: 0 / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.3173, allocations: 7.438 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3173, allocations: 4.062 kB / 0.5689 GB, free: 11.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.3424, allocations: 1.407 MB / 0.5703 GB, free: 9.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.98, allocations: 6.984 kB / 0.5703 GB, free: 9.891 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: 13.806057166017126]