Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 101.6 kB / 15.98 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 196.5 kB / 16.91 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3035/0.3035, allocations: 43.49 MB / 313.6 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.91 kB / 382.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1197, allocations: 57.78 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002023/0.1218, allocations: 0.6415 MB / 440.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.1221, allocations: 115.5 kB / 440.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.1222, allocations: 0 / 440.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.1222, allocations: 0 / 440.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.1225, allocations: 39.89 kB / 440.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.449e-06/0.1226, allocations: 3.938 kB / 440.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.1226, allocations: 23.86 kB / 440.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.1227, allocations: 4 kB / 440.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.1227, allocations: 15.86 kB / 440.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.1228, allocations: 11.98 kB / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1228, allocations: 0 / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1229, allocations: 51.89 kB / 441 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.123, allocations: 3.984 kB / 441 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.123, allocations: 15.92 kB / 441 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1231, allocations: 35.89 kB / 441.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1231, allocations: 4 kB / 441.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1232, allocations: 7.938 kB / 441.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1232, allocations: 0 / 441.1 MB, free: 13.68 MB / 382.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.0004038/0.1236, allocations: 343.7 kB / 441.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.1236, allocations: 15.89 kB / 441.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.1237, allocations: 30.75 kB / 441.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.1238, allocations: 4.938 kB / 441.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1239, allocations: 160.4 kB / 441.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1239, allocations: 12.31 kB / 441.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.124, allocations: 8.375 kB / 441.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1241, allocations: 62.17 kB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1241, allocations: 3.938 kB / 441.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1242, allocations: 4 kB / 441.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1242, allocations: 0 / 441.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1243, allocations: 51.95 kB / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.1245, allocations: 175.3 kB / 441.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1247, allocations: 78.59 kB / 442 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.1247, allocations: 36.84 kB / 442 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/0.1251, allocations: 255.3 kB / 442.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1252, allocations: 30.56 kB / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.1252, allocations: 0 / 442.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002564/0.1254, allocations: 109.7 kB / 442.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1255, allocations: 51.41 kB / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.1256, allocations: 101.9 kB / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1256, allocations: 25.7 kB / 442.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.1256, allocations: 80.14 kB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.1257, allocations: 39.39 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.1257, allocations: 29.72 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1259, allocations: 310.8 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.1259, allocations: 15.98 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/0.126, allocations: 28.05 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.126, allocations: 48.86 kB / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1261, allocations: 0 / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001226/0.1262, allocations: 89.61 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1262, allocations: 7.938 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1262, allocations: 0 / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1262, allocations: 0.6562 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1264, allocations: 19.98 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1264, allocations: 0 / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.1264, allocations: 3.906 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1264, allocations: 4 kB / 443.3 MB, free: 11.2 MB / 382.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 8.865e-05/0.1265, allocations: 117.8 kB / 443.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1265, allocations: 7.938 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.1267, allocations: 105.6 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1267, allocations: 7.938 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1267, allocations: 3.938 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1268, allocations: 0 / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.1269, allocations: 173.6 kB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1269, allocations: 0 / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.127, allocations: 23.98 kB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.127, allocations: 3.938 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.127, allocations: 4 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.127, allocations: 4 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.127, allocations: 0 / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1272, allocations: 109 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.1272, allocations: 81.05 kB / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1272, allocations: 3.938 kB / 443.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.1273, allocations: 8 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.1273, allocations: 7.984 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1273, allocations: 4 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.1274, allocations: 75.28 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1274, allocations: 0 / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.1276, allocations: 16 kB / 444 MB, free: 10.36 MB / 382.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.0004579/0.128, allocations: 0.6633 MB / 444.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1282, allocations: 67.78 kB / 444.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1282, allocations: 0 / 444.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.1282, allocations: 31.98 kB / 444.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.1284, allocations: 8 kB / 444.8 MB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.1288, allocations: 194.5 kB / 445 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1291, allocations: 0.6807 MB / 445.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.1292, allocations: 4 kB / 445.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1292, allocations: 23.36 kB / 445.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1292, allocations: 0 / 445.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1519, allocations: 1.451 MB / 447.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.1521, allocations: 211 kB / 447.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/1.891, allocations: 0 / 447.3 MB, free: 6.898 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches