Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001055/0.001055, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2034/0.2034, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.34 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1152, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001887/0.1172, allocations: 0.5123 MB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.1176, allocations: 166 kB / 471.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.1176, allocations: 3.938 kB / 471.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.1176, allocations: 3.938 kB / 471.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.1179, allocations: 35.84 kB / 471.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.638e-06/0.1179, allocations: 3.938 kB / 471.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.118, allocations: 27.91 kB / 471.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1181, allocations: 0 / 471.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.1181, allocations: 11.92 kB / 471.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.1182, allocations: 15.92 kB / 471.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1182, allocations: 3.938 kB / 471.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1183, allocations: 47.95 kB / 471.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.1183, allocations: 8 kB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.1184, allocations: 15.91 kB / 471.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1185, allocations: 39.89 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1185, allocations: 0 / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1185, allocations: 3.938 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1185, allocations: 3.984 kB / 471.6 MB, free: 12.76 MB / 350.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.0003216/0.1188, allocations: 335.6 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1189, allocations: 8.031 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1189, allocations: 8.844 kB / 471.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.119, allocations: 172.3 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1191, allocations: 8.375 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1191, allocations: 4.359 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1192, allocations: 58.23 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1192, allocations: 192 / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1193, allocations: 7.938 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.1193, allocations: 0 / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1194, allocations: 55.89 kB / 472.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.1196, allocations: 165.7 kB / 472.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1197, allocations: 86.55 kB / 472.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.1198, allocations: 28.84 kB / 472.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.1201, allocations: 251.3 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1202, allocations: 34.83 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1202, allocations: 0 / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002516/0.1204, allocations: 109.4 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1205, allocations: 63.34 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.1206, allocations: 97.84 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1206, allocations: 25.7 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.1206, allocations: 80.14 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.1207, allocations: 27.56 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1207, allocations: 29.7 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1208, allocations: 310.8 kB / 473.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.1209, allocations: 24.11 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.1209, allocations: 19.98 kB / 473.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.121, allocations: 52.8 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.121, allocations: 0 / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001252/0.1211, allocations: 78.25 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1211, allocations: 7.938 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1212, allocations: 3.938 kB / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1212, allocations: 8 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1213, allocations: 19.92 kB / 473.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1213, allocations: 0 / 473.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.1213, allocations: 11.94 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1214, allocations: 7.938 kB / 473.8 MB, free: 10.32 MB / 350.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 7.234e-05/0.1214, allocations: 113.8 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.1214, allocations: 0 / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.1216, allocations: 109.5 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1217, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1217, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1217, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1218, allocations: 177.6 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1218, allocations: 0 / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.1219, allocations: 15.98 kB / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1219, allocations: 0 / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1219, allocations: 7.938 kB / 474.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1219, allocations: 3.938 kB / 474.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1219, allocations: 0 / 474.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.1221, allocations: 109.1 kB / 474.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.1221, allocations: 85.02 kB / 474.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1221, allocations: 3.938 kB / 474.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.687e-05/0.1222, allocations: 11.94 kB / 474.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.1222, allocations: 3.984 kB / 474.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1222, allocations: 4 kB / 474.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.1222, allocations: 75.28 kB / 474.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1222, allocations: 0 / 474.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1225, allocations: 16 kB / 474.5 MB, free: 9.5 MB / 350.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.0001363/0.1226, allocations: 107.3 kB / 474.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1227, allocations: 64.03 kB / 474.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1227, allocations: 0 / 474.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.1228, allocations: 35.92 kB / 474.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.1229, allocations: 7.938 kB / 474.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.1233, allocations: 136.9 kB / 474.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1235, allocations: 0.6807 MB / 475.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.1236, allocations: 19.97 kB / 475.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.1236, allocations: 11.44 kB / 475.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1236, allocations: 0 / 475.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Templates: time 0.002604/0.1262, allocations: 0.6372 MB / 476.2 MB, free: 7.742 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches