Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 181.5 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.6 MB / 222.4 MB, free: 13.67 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.000856, allocations: 86.25 kB / 270.8 MB, free: 13.2 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1848/0.1848, allocations: 43.69 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09672, allocations: 58.86 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006858/0.09744, allocations: 296.6 kB / 491.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004953/0.09796, allocations: 437.7 kB / 491.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.098, allocations: 0 / 491.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.09802, allocations: 0 / 491.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.09825, allocations: 27.91 kB / 491.9 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.09826, allocations: 4 kB / 491.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.956e-05/0.09832, allocations: 23.91 kB / 491.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.09838, allocations: 4 kB / 492 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.09841, allocations: 11.94 kB / 492 MB, free: 7.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.09847, allocations: 11.86 kB / 492 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.09849, allocations: 4 kB / 492 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.09862, allocations: 47.95 kB / 492 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.09864, allocations: 7.922 kB / 492 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.09868, allocations: 37.62 kB / 492.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.0988, allocations: 43.83 kB / 492.1 MB, free: 7.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.09881, allocations: 4 kB / 492.1 MB, free: 7.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09882, allocations: 0 / 492.1 MB, free: 7.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.09883, allocations: 0 / 492.1 MB, free: 7.113 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.0002593/0.09909, allocations: 331.8 kB / 492.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.09914, allocations: 8.031 kB / 492.4 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.09917, allocations: 8.844 kB / 492.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.09929, allocations: 164.3 kB / 492.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.09931, allocations: 4.375 kB / 492.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.09933, allocations: 12.36 kB / 492.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.09947, allocations: 58.23 kB / 492.7 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.09949, allocations: 192 / 492.7 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.0995, allocations: 3.938 kB / 492.7 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.09951, allocations: 4 kB / 492.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.09962, allocations: 55.89 kB / 492.8 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.0998, allocations: 169.6 kB / 492.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.09994, allocations: 74.56 kB / 493 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1, allocations: 32.84 kB / 493 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.1003, allocations: 263.2 kB / 493.3 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1004, allocations: 38.78 kB / 493.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1004, allocations: 0 / 493.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002061/0.1006, allocations: 105.5 kB / 493.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1006, allocations: 51.41 kB / 493.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.809e-05/0.1007, allocations: 93.86 kB / 493.6 MB, free: 5.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1007, allocations: 34.08 kB / 493.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.1007, allocations: 80.14 kB / 493.7 MB, free: 5.297 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.1008, allocations: 35.45 kB / 493.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1008, allocations: 0 / 493.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.1009, allocations: 318.8 kB / 494 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.1009, allocations: 19.98 kB / 494 MB, free: 4.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.1009, allocations: 12 kB / 494.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.964e-05/0.101, allocations: 52.78 kB / 494.1 MB, free: 4.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.101, allocations: 4.125 kB / 494.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000119/0.1012, allocations: 81.69 kB / 494.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1012, allocations: 4 kB / 494.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1012, allocations: 3.938 kB / 494.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1012, allocations: 0 / 494.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.1013, allocations: 19.92 kB / 494.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1013, allocations: 4 kB / 494.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.1014, allocations: 11.84 kB / 494.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1014, allocations: 4 kB / 494.2 MB, free: 4.719 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.1015, allocations: 113.8 kB / 494.3 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1015, allocations: 4 kB / 494.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.1017, allocations: 97.8 kB / 494.4 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1017, allocations: 0 / 494.4 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1017, allocations: 4 kB / 494.4 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1017, allocations: 8.078 kB / 494.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1018, allocations: 177.5 kB / 494.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1018, allocations: 0 / 494.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.1019, allocations: 23.92 kB / 494.7 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1019, allocations: 4 kB / 494.7 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1019, allocations: 3.938 kB / 494.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1019, allocations: 0 / 494.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.102, allocations: 0 / 494.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1021, allocations: 117 kB / 494.8 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.1021, allocations: 88.94 kB / 494.9 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1022, allocations: 7.938 kB / 494.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.427e-05/0.1022, allocations: 0 / 494.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.1022, allocations: 12 kB / 494.9 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1022, allocations: 0 / 494.9 MB, free: 3.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.902e-05/0.1023, allocations: 83.27 kB / 495 MB, free: 3.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1023, allocations: 0 / 495 MB, free: 3.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.1025, allocations: 16 kB / 495 MB, free: 3.867 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 (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.0001309/0.1026, allocations: 111.2 kB / 495.1 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1027, allocations: 55.91 kB / 495.1 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1028, allocations: 96 / 495.1 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.1028, allocations: 35.94 kB / 495.2 MB, free: 3.656 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.103, allocations: 0 / 495.2 MB, free: 3.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.1033, allocations: 147.2 kB / 495.3 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1035, allocations: 0.6809 MB / 496 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.1036, allocations: 15.97 kB / 496 MB, free: 2.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.1036, allocations: 11.44 kB / 496 MB, free: 2.75 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1036, allocations: 0 / 496 MB, free: 2.75 MB / 330.7 MB Notification: Performance of Templates: time 0.002493/0.1061, allocations: 0.6244 MB / 496.7 MB, free: 2.129 MB / 330.7 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 -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/jenkins/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