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.001226/0.001226, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001261/0.001261, allocations: 192 kB / 18.56 MB, free: 4.434 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.277/1.277, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.1927/0.1927, allocations: 44.19 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 66.53 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09893, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001723/0.1007, allocations: 0.5219 MB / 469.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.1011, allocations: 161.9 kB / 469.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.1011, allocations: 4 kB / 469.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.1012, allocations: 3.938 kB / 469.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1014, allocations: 27.84 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.1014, allocations: 0 / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.1015, allocations: 23.92 kB / 470 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.1015, allocations: 3.938 kB / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.1016, allocations: 11.97 kB / 470 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.75e-05/0.1016, allocations: 15.92 kB / 470 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1016, allocations: 0 / 470 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1017, allocations: 55.95 kB / 470.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1018, allocations: 11.88 kB / 470.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.1018, allocations: 11.92 kB / 470.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.1019, allocations: 39.89 kB / 470.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1019, allocations: 0 / 470.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1019, allocations: 0 / 470.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1019, allocations: 0 / 470.1 MB, free: 13.47 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.0002891/0.1022, allocations: 339.8 kB / 470.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1022, allocations: 8.031 kB / 470.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1023, allocations: 8.844 kB / 470.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1024, allocations: 172.2 kB / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1024, allocations: 8.375 kB / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1024, allocations: 4.312 kB / 470.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1026, allocations: 62.23 kB / 470.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1026, allocations: 4.125 kB / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1026, allocations: 3.938 kB / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1026, allocations: 0 / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.1027, allocations: 55.95 kB / 470.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1029, allocations: 165.6 kB / 471 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.103, allocations: 86.55 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.1031, allocations: 28.84 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.1034, allocations: 255.3 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1034, allocations: 38.55 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1035, allocations: 0 / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002322/0.1037, allocations: 105.8 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1037, allocations: 59.41 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.1038, allocations: 97.78 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1038, allocations: 25.7 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.1039, allocations: 80.14 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.1039, allocations: 31.56 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.104, allocations: 25.7 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1041, allocations: 310.8 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.1041, allocations: 28.11 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.1042, allocations: 12.38 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.1043, allocations: 56.97 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1043, allocations: 0 / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001222/0.1044, allocations: 81.62 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1044, allocations: 4 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1044, allocations: 3.938 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1044, allocations: 4 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1046, allocations: 19.92 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1046, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.1046, allocations: 15.84 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1046, allocations: 4 kB / 472.3 MB, free: 11.03 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 8.41e-05/0.1047, allocations: 109.8 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.1047, allocations: 4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.1049, allocations: 101.5 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1049, allocations: 4 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1049, allocations: 4 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.105, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.1051, allocations: 181.5 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1051, allocations: 0 / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.1052, allocations: 19.98 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1052, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1052, allocations: 7.938 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1052, allocations: 0 / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1052, allocations: 0 / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1054, allocations: 113.2 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.1054, allocations: 85.02 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1055, allocations: 7.938 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.1055, allocations: 4 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.1055, allocations: 7.922 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1055, allocations: 8 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.1056, allocations: 75.28 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1056, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000207/0.1058, allocations: 16 kB / 473 MB, free: 10.19 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.0001564/0.1059, allocations: 115.3 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.1061, allocations: 59.91 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1061, allocations: 0 / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.1062, allocations: 35.92 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.1063, allocations: 3.281 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.1067, allocations: 140.9 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.107, allocations: 0.6846 MB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.107, allocations: 4 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.107, allocations: 15.44 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1071, allocations: 0 / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Templates: time 0.002724/0.1098, allocations: 0.645 MB / 474.7 MB, free: 8.434 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/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