Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 188.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 94.86 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2965/0.2965, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004859, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007862/0.1159, allocations: 292.6 kB / 490.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003905/0.1163, allocations: 117.2 kB / 490.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.1163, allocations: 0 / 490.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.1164, allocations: 4 kB / 490.6 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.1166, allocations: 35.83 kB / 490.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.1166, allocations: 0 / 490.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.642e-05/0.1167, allocations: 7.984 kB / 490.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.1168, allocations: 3.984 kB / 490.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.1168, allocations: 11.94 kB / 490.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.1169, allocations: 15.92 kB / 490.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1169, allocations: 0 / 490.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.117, allocations: 47.94 kB / 490.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.1171, allocations: 3.984 kB / 490.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.1171, allocations: 33.64 kB / 490.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1172, allocations: 31.95 kB / 490.8 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1172, allocations: 0 / 490.8 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1172, allocations: 0 / 490.8 MB, free: 8.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1172, allocations: 0 / 490.8 MB, free: 8.742 MB / 330.7 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.0003297/0.1176, allocations: 335.6 kB / 491.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1176, allocations: 8.031 kB / 491.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1177, allocations: 7.906 kB / 491.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1178, allocations: 167 kB / 491.3 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1178, allocations: 4 kB / 491.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1179, allocations: 4 kB / 491.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.118, allocations: 65.56 kB / 491.4 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1181, allocations: 0 / 491.4 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1181, allocations: 0 / 491.4 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1181, allocations: 0 / 491.4 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1183, allocations: 59.94 kB / 491.4 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.1185, allocations: 171.7 kB / 491.6 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1187, allocations: 82.58 kB / 491.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/0.1192, allocations: 255.3 kB / 491.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1192, allocations: 34.56 kB / 492 MB, free: 7.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.1192, allocations: 0 / 492 MB, free: 7.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003104/0.1195, allocations: 105.8 kB / 492.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1196, allocations: 51.41 kB / 492.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.1197, allocations: 97.86 kB / 492.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1197, allocations: 25.7 kB / 492.3 MB, free: 7.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.1198, allocations: 150.6 kB / 492.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.1199, allocations: 35.45 kB / 492.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.1199, allocations: 4 kB / 492.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.12, allocations: 314.8 kB / 492.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.1201, allocations: 16 kB / 492.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.587e-05/0.1202, allocations: 19.98 kB / 492.8 MB, free: 6.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.1203, allocations: 28.45 kB / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1203, allocations: 128 / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.1205, allocations: 85.62 kB / 492.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1205, allocations: 8 kB / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1205, allocations: 0 / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1206, allocations: 0 / 492.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1207, allocations: 19.92 kB / 492.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1207, allocations: 3.938 kB / 492.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.1208, allocations: 11.84 kB / 492.9 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1208, allocations: 0 / 492.9 MB, free: 6.352 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.1209, allocations: 121.8 kB / 493.1 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.121, allocations: 4 kB / 493.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1212, allocations: 105.6 kB / 493.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1213, allocations: 0 / 493.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1213, allocations: 0 / 493.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1213, allocations: 0 / 493.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1215, allocations: 173.6 kB / 493.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1215, allocations: 3.953 kB / 493.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.1216, allocations: 15.98 kB / 493.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1216, allocations: 7.938 kB / 493.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1217, allocations: 4 kB / 493.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1217, allocations: 0 / 493.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1217, allocations: 0 / 493.4 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1219, allocations: 117 kB / 493.5 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.122, allocations: 89.19 kB / 493.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.122, allocations: 4 kB / 493.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.936e-05/0.1221, allocations: 4 kB / 493.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.1221, allocations: 7.922 kB / 493.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1221, allocations: 8 kB / 493.6 MB, free: 5.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.1222, allocations: 75.28 kB / 493.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1222, allocations: 0 / 493.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000265/0.1224, allocations: 16 kB / 493.7 MB, free: 5.504 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.1226, allocations: 99.25 kB / 493.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1228, allocations: 55.91 kB / 493.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1229, allocations: 0 / 493.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.1229, allocations: 40.02 kB / 493.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1231, allocations: 4 kB / 493.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.1235, allocations: 176.4 kB / 494 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1238, allocations: 0.6809 MB / 494.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.1239, allocations: 11.44 kB / 494.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1239, allocations: 0 / 494.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of Templates: time 0.002971/0.1269, allocations: 0.8204 MB / 495.6 MB, free: 3.551 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches