Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001831/0.001831, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002308/0.002308, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 83.86 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3483, allocations: 66.09 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001701/0.35, allocations: 0.5287 MB / 0.5612 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000466/0.3504, allocations: 163.5 kB / 0.5614 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.3505, allocations: 3.938 kB / 0.5614 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.3505, allocations: 3.938 kB / 0.5614 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.3508, allocations: 43.84 kB / 0.5614 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.499e-06/0.3508, allocations: 0 / 0.5614 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.3508, allocations: 19.92 kB / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.3509, allocations: 3.984 kB / 0.5615 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.3509, allocations: 7.938 kB / 0.5615 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.351, allocations: 19.91 kB / 0.5615 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.351, allocations: 4 kB / 0.5615 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3511, allocations: 47.95 kB / 0.5615 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.3511, allocations: 3.984 kB / 0.5615 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.3512, allocations: 11.88 kB / 0.5616 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3513, allocations: 49.58 kB / 0.5616 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3513, allocations: 4 kB / 0.5616 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3513, allocations: 0 / 0.5616 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3513, allocations: 0 / 0.5616 GB, free: 3.402 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003585/0.3517, allocations: 266.2 kB / 0.5619 GB, free: 3.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3517, allocations: 12.03 kB / 0.5619 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.3517, allocations: 30.75 kB / 0.5619 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3518, allocations: 4.938 kB / 0.5619 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3519, allocations: 106.5 kB / 0.562 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3519, allocations: 8.375 kB / 0.562 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3519, allocations: 4.375 kB / 0.562 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3521, allocations: 58.19 kB / 0.5621 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3521, allocations: 3.938 kB / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3521, allocations: 4 kB / 0.5621 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3521, allocations: 7.938 kB / 0.5621 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3522, allocations: 47.95 kB / 0.5621 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.3524, allocations: 152.6 kB / 0.5623 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.3525, allocations: 70.59 kB / 0.5624 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.3526, allocations: 32.84 kB / 0.5624 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.3529, allocations: 23.97 kB / 0.5624 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3529, allocations: 34.56 kB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.3529, allocations: 0 / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002503/0.3531, allocations: 109.7 kB / 0.5625 GB, free: 2.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.3532, allocations: 51.41 kB / 0.5626 GB, free: 2.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.3533, allocations: 97.86 kB / 0.5627 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3533, allocations: 25.7 kB / 0.5627 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.3534, allocations: 80.14 kB / 0.5628 GB, free: 2.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.3534, allocations: 39.67 kB / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3535, allocations: 25.72 kB / 0.5628 GB, free: 1.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3536, allocations: 314.8 kB / 0.5632 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.3537, allocations: 19.94 kB / 0.5632 GB, free: 1.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.473e-05/0.3537, allocations: 24.05 kB / 0.5632 GB, free: 1.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.3538, allocations: 49.42 kB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3538, allocations: 4 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001315/0.3539, allocations: 89.52 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.354, allocations: 7.938 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.354, allocations: 0 / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.354, allocations: 7.984 kB / 0.5633 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3541, allocations: 12 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3541, allocations: 0 / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.3541, allocations: 0 / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3541, allocations: 8 kB / 0.5634 GB, free: 1.41 MB / 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 (10): * Single equations (assignments): 10 * 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.0001/0.3542, allocations: 113.8 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3542, allocations: 11.89 kB / 0.5635 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.3544, allocations: 105.5 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3544, allocations: 4 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3544, allocations: 0 / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3545, allocations: 0 / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3546, allocations: 140.7 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3546, allocations: 0 / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.3547, allocations: 19.98 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3547, allocations: 3.938 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3547, allocations: 8 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3547, allocations: 0 / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3547, allocations: 0 / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3548, allocations: 113 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.3549, allocations: 288 / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3549, allocations: 15.94 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.3549, allocations: 4 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.3549, allocations: 7.922 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3549, allocations: 4 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.355, allocations: 75.28 kB / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.355, allocations: 0 / 0.564 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.3552, allocations: 16 kB / 0.564 GB, free: 0.6992 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0005231/0.3557, allocations: 0.6709 MB / 0.5646 GB, free: 16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.3558, allocations: 51.84 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3558, allocations: 4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.3559, allocations: 23.98 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.356, allocations: 6.188 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.3564, allocations: 174.6 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3568, allocations: 0.6846 MB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.3568, allocations: 7.781 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.3568, allocations: 19.42 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3568, allocations: 0 / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3859, allocations: 1.699 MB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.97, allocations: 9.812 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable x2_a in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2_a from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3 in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3 from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3_a in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3_a from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x2err in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2err from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3err in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3err from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.987752934001037]