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.001611/0.001611, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001878/0.001878, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.442/1.442, allocations: 222.9 MB / 242.5 MB, free: 15.42 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.2038/0.2038, allocations: 44.18 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 54.25 kB / 408.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 60.83 MB / 469.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001931/0.1045, allocations: 0.5916 MB / 469.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.1051, allocations: 174 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.1051, allocations: 0 / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.1052, allocations: 3.938 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1054, allocations: 23.91 kB / 470 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.1054, allocations: 7.938 kB / 470 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.1055, allocations: 19.92 kB / 470 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1055, allocations: 0 / 470 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.1056, allocations: 15.92 kB / 470 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.1056, allocations: 15.92 kB / 470 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1056, allocations: 0 / 470 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1058, allocations: 51.94 kB / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1058, allocations: 7.938 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.1058, allocations: 7.938 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.681e-05/0.1059, allocations: 35.89 kB / 470.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1059, allocations: 3.984 kB / 470.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1059, allocations: 0 / 470.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1059, allocations: 0 / 470.1 MB, free: 13.92 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.0003182/0.1063, allocations: 331.9 kB / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1063, allocations: 12.03 kB / 470.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.1064, allocations: 8.844 kB / 470.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1065, allocations: 168.3 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1065, allocations: 4.375 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1065, allocations: 4.375 kB / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1067, allocations: 62.17 kB / 470.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1067, allocations: 192 / 470.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1067, allocations: 3.938 kB / 470.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1067, allocations: 0 / 470.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1068, allocations: 59.95 kB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.107, allocations: 161.7 kB / 470.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1071, allocations: 82.58 kB / 471 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.1072, allocations: 36.78 kB / 471 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/0.1076, allocations: 263.3 kB / 471.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1076, allocations: 34.56 kB / 471.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1076, allocations: 0 / 471.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002467/0.1079, allocations: 105.7 kB / 471.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1079, allocations: 55.39 kB / 471.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.108, allocations: 93.86 kB / 471.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.108, allocations: 29.7 kB / 471.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.108, allocations: 80.14 kB / 471.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.1081, allocations: 31.55 kB / 471.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1081, allocations: 25.84 kB / 471.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.1082, allocations: 314.8 kB / 472 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.1083, allocations: 23.92 kB / 472.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.1083, allocations: 15.98 kB / 472.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.1084, allocations: 52.8 kB / 472.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-06/0.1084, allocations: 0 / 472.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000122/0.1085, allocations: 90.09 kB / 472.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1086, allocations: 6.5 kB / 472.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1086, allocations: 4.031 kB / 472.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1086, allocations: 7.938 kB / 472.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1087, allocations: 19.98 kB / 472.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1087, allocations: 0 / 472.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.1087, allocations: 7.938 kB / 472.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1088, allocations: 7.938 kB / 472.3 MB, free: 11.48 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.622e-05/0.1088, allocations: 109.8 kB / 472.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.1089, allocations: 4 kB / 472.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.1091, allocations: 105.5 kB / 472.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1091, allocations: 8 kB / 472.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1091, allocations: 0 / 472.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1091, allocations: 0 / 472.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.1092, allocations: 169.6 kB / 472.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1092, allocations: 0 / 472.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.1093, allocations: 15.98 kB / 472.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1093, allocations: 0 / 472.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1093, allocations: 7.938 kB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1093, allocations: 0 / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1093, allocations: 0 / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1095, allocations: 117 kB / 472.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.1095, allocations: 81.02 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1095, allocations: 3.938 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.609e-05/0.1096, allocations: 4 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.1096, allocations: 7.984 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1096, allocations: 4 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.05e-05/0.1096, allocations: 75.28 kB / 473 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1096, allocations: 4.094 kB / 473 MB, free: 10.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.1099, allocations: 20 kB / 473 MB, free: 10.66 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.11, allocations: 115.6 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1101, allocations: 63.97 kB / 473.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1101, allocations: 0 / 473.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.1102, allocations: 31.98 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1103, allocations: 7.625 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.1107, allocations: 184.4 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.111, allocations: 0.6809 MB / 474.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.111, allocations: 11.44 kB / 474.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.111, allocations: 0 / 474.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of Templates: time 0.002246/0.1132, allocations: 0.7971 MB / 474.9 MB, free: 8.699 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 -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