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: 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_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_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.001101/0.001101, allocations: 109.1 kB / 17.03 MB, free: 5.703 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.001096/0.001096, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.42/1.42, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2218/0.2218, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001602/0.001602, allocations: 68.67 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09826, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002097/0.1004, allocations: 0.5723 MB / 442.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003439/0.1008, allocations: 120 kB / 442.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.1008, allocations: 0 / 442.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.1009, allocations: 0 / 442.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.1012, allocations: 43.81 kB / 442.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.1012, allocations: 4 kB / 442.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.1013, allocations: 15.92 kB / 442.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.1013, allocations: 8 kB / 442.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.1013, allocations: 15.88 kB / 442.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.1014, allocations: 15.86 kB / 442.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1014, allocations: 0 / 442.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1015, allocations: 59.92 kB / 442.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.1016, allocations: 4 kB / 442.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.1016, allocations: 11.88 kB / 442.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1017, allocations: 39.88 kB / 442.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1017, allocations: 8 kB / 442.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1017, allocations: 0 / 442.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1017, allocations: 0 / 442.9 MB, free: 5.234 MB / 318.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.0003115/0.1021, allocations: 343.4 kB / 443.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1021, allocations: 8.031 kB / 443.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1021, allocations: 4.938 kB / 443.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.1022, allocations: 168.3 kB / 443.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1023, allocations: 384 / 443.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1023, allocations: 8.375 kB / 443.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1024, allocations: 58.25 kB / 443.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1024, allocations: 192 / 443.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1024, allocations: 7.922 kB / 443.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1025, allocations: 0 / 443.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.1026, allocations: 59.89 kB / 443.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.1027, allocations: 173.5 kB / 443.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1029, allocations: 78.55 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.1029, allocations: 28.86 kB / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.1033, allocations: 259.6 kB / 444 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1033, allocations: 38.5 kB / 444.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1033, allocations: 0 / 444.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002208/0.1035, allocations: 109.8 kB / 444.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1035, allocations: 51.41 kB / 444.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.936e-05/0.1036, allocations: 97.86 kB / 444.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.1036, allocations: 29.7 kB / 444.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.108e-05/0.1036, allocations: 80.14 kB / 444.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1037, allocations: 35.45 kB / 444.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1037, allocations: 25.66 kB / 444.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.1038, allocations: 318.8 kB / 444.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.1038, allocations: 12 kB / 444.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.1038, allocations: 19.98 kB / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.1039, allocations: 56.78 kB / 444.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1039, allocations: 4.125 kB / 444.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001072/0.104, allocations: 81.62 kB / 445 MB, free: 2.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.104, allocations: 4 kB / 445 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1041, allocations: 3.938 kB / 445 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1041, allocations: 0 / 445 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1042, allocations: 20 kB / 445 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1042, allocations: 0 / 445 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.1042, allocations: 7.891 kB / 445 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1042, allocations: 4 kB / 445 MB, free: 2.801 MB / 318.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 6.445e-05/0.1043, allocations: 117.8 kB / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1043, allocations: 4.375 kB / 445.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.1045, allocations: 105.5 kB / 445.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1045, allocations: 4 kB / 445.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1045, allocations: 0 / 445.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1045, allocations: 0 / 445.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.749e-05/0.1046, allocations: 177.5 kB / 445.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1046, allocations: 0 / 445.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.1047, allocations: 15.94 kB / 445.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1047, allocations: 0 / 445.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1047, allocations: 11.92 kB / 445.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1047, allocations: 8 kB / 445.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1047, allocations: 0 / 445.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1049, allocations: 109 kB / 445.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.1049, allocations: 85.05 kB / 445.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1049, allocations: 7.922 kB / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.1049, allocations: 0 / 445.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.105, allocations: 8 kB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.105, allocations: 8 kB / 445.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.105, allocations: 75.28 kB / 445.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.105, allocations: 0 / 445.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.1052, allocations: 19.98 kB / 445.8 MB, free: 1.953 MB / 318.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.0001355/0.1054, allocations: 107.2 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1055, allocations: 51.92 kB / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1055, allocations: 0 / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.1056, allocations: 40.39 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.1057, allocations: 4 kB / 446 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.106, allocations: 133.1 kB / 446.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.1061, allocations: 0.6807 MB / 446.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.087e-05/0.1062, allocations: 4 kB / 446.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.1062, allocations: 19.42 kB / 446.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1062, allocations: 4 kB / 446.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of Templates: time 0.002507/0.1087, allocations: 0.6469 MB / 447.4 MB, free: 212 kB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches