Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 84.84 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1032, allocations: 62.45 MB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001774/0.1051, allocations: 0.5251 MB / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.1055, allocations: 154.2 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1055, allocations: 0 / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.1055, allocations: 3.938 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1058, allocations: 43.81 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.1058, allocations: 0 / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.1059, allocations: 23.86 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1059, allocations: 4 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.1059, allocations: 7.938 kB / 480.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.106, allocations: 11.92 kB / 480.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.106, allocations: 4 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1061, allocations: 51.95 kB / 480.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.1061, allocations: 15.84 kB / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.1062, allocations: 7.938 kB / 480.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1063, allocations: 47.88 kB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1063, allocations: 0 / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1063, allocations: 0 / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1063, allocations: 0 / 481 MB, free: 4.344 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.0003087/0.1066, allocations: 339.8 kB / 481.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1067, allocations: 12.03 kB / 481.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1067, allocations: 4.844 kB / 481.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1068, allocations: 168.3 kB / 481.5 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1068, allocations: 4.375 kB / 481.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.1068, allocations: 12.38 kB / 481.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.107, allocations: 54.19 kB / 481.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.107, allocations: 192 / 481.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.107, allocations: 3.938 kB / 481.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.107, allocations: 4 kB / 481.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1071, allocations: 51.95 kB / 481.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1073, allocations: 169.7 kB / 481.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1074, allocations: 78.59 kB / 481.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1075, allocations: 32.84 kB / 481.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003455/0.1079, allocations: 255.3 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1079, allocations: 34.56 kB / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1079, allocations: 0 / 482.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002465/0.1082, allocations: 109.6 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1082, allocations: 55.78 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.1083, allocations: 93.86 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1083, allocations: 25.7 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.1083, allocations: 84.14 kB / 482.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.1084, allocations: 35.48 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.1084, allocations: 21.72 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1085, allocations: 314.8 kB / 482.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.1086, allocations: 23.94 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.1086, allocations: 19.98 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.1087, allocations: 48.98 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1087, allocations: 0 / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001287/0.1089, allocations: 85.61 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1089, allocations: 8 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.1089, allocations: 3.938 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1089, allocations: 0 / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.109, allocations: 12 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.109, allocations: 0 / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.1091, allocations: 15.84 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1091, allocations: 7.875 kB / 483.1 MB, free: 1.918 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.149e-05/0.1092, allocations: 121.8 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.1092, allocations: 0 / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.1094, allocations: 105.8 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1094, allocations: 96 / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1094, allocations: 3.938 kB / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1094, allocations: 0 / 483.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1095, allocations: 177.5 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1096, allocations: 0 / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.1096, allocations: 20 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1096, allocations: 4 kB / 483.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1097, allocations: 3.938 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1097, allocations: 0 / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1097, allocations: 0 / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1098, allocations: 113 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.1099, allocations: 85 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1099, allocations: 7.938 kB / 483.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.1099, allocations: 4 kB / 483.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.1099, allocations: 7.984 kB / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.11, allocations: 4 kB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.909e-05/0.11, allocations: 75.28 kB / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.11, allocations: 4 kB / 483.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1102, allocations: 12 kB / 483.8 MB, free: 1.082 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.0001389/0.1104, allocations: 115.1 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1105, allocations: 56.02 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1105, allocations: 4 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.1106, allocations: 35.92 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1107, allocations: 5.266 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.1111, allocations: 141.4 kB / 484.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1113, allocations: 0.6841 MB / 484.9 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1114, allocations: 8 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1114, allocations: 15.38 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.284e-06/0.1114, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Templates: time 0.002638/0.1141, allocations: 0.6446 MB / 485.5 MB, free: 15.33 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches