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.001258/0.001258, allocations: 113.3 kB / 18.45 MB, free: 4.59 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.001304/0.001304, allocations: 181.1 kB / 19.38 MB, free: 3.672 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.296/1.296, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.191/0.191, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.09 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00192/0.3393, allocations: 0.5282 MB / 0.5201 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004186/0.3397, allocations: 153.9 kB / 0.5202 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.3398, allocations: 1.125 kB / 0.5202 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.3398, allocations: 3.938 kB / 0.5202 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.3401, allocations: 34.38 kB / 0.5203 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.328e-06/0.3401, allocations: 4 kB / 0.5203 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.82e-05/0.3402, allocations: 29.5 kB / 0.5203 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.101e-05/0.3402, allocations: 6.859 kB / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.3403, allocations: 9.047 kB / 0.5203 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.3403, allocations: 19.55 kB / 0.5203 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3403, allocations: 1.125 kB / 0.5203 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3405, allocations: 50.06 kB / 0.5204 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.3405, allocations: 6.328 kB / 0.5204 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.3405, allocations: 10.42 kB / 0.5204 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3406, allocations: 42.17 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3406, allocations: 1.25 kB / 0.5204 GB, free: 3.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3406, allocations: 4 kB / 0.5204 GB, free: 3.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3407, allocations: 0 / 0.5204 GB, free: 3.086 MB / 382.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.0002752/0.3409, allocations: 334.9 kB / 0.5208 GB, free: 2.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.341, allocations: 14.91 kB / 0.5208 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.341, allocations: 5.969 kB / 0.5208 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.679e-05/0.3411, allocations: 167.7 kB / 0.5209 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3411, allocations: 1.438 kB / 0.5209 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3412, allocations: 8.641 kB / 0.5209 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3413, allocations: 62.36 kB / 0.521 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3413, allocations: 192 / 0.521 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3413, allocations: 9.625 kB / 0.521 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3413, allocations: 1.094 kB / 0.521 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3415, allocations: 54.5 kB / 0.5211 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.3416, allocations: 167.7 kB / 0.5212 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3417, allocations: 78.69 kB / 0.5213 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.3418, allocations: 30.59 kB / 0.5213 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.3421, allocations: 255.5 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.3421, allocations: 40.47 kB / 0.5216 GB, free: 1.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3421, allocations: 0 / 0.5216 GB, free: 1.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002258/0.3424, allocations: 110.3 kB / 0.5217 GB, free: 1.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.3424, allocations: 52.59 kB / 0.5218 GB, free: 1.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.3424, allocations: 92.28 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.3425, allocations: 29.83 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.114e-05/0.3425, allocations: 81.7 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.3425, allocations: 39.33 kB / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.3426, allocations: 25.78 kB / 0.522 GB, free: 1.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.3426, allocations: 314.6 kB / 0.5223 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.3426, allocations: 23.78 kB / 0.5223 GB, free: 1.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.3427, allocations: 17.17 kB / 0.5224 GB, free: 1.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.3428, allocations: 48.41 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3428, allocations: 4 kB / 0.5224 GB, free: 1.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001125/0.3429, allocations: 84.19 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3429, allocations: 5.891 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3429, allocations: 3.938 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3429, allocations: 1.344 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.343, allocations: 15.75 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.343, allocations: 7.875 kB / 0.5225 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.3431, allocations: 9.438 kB / 0.5225 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3431, allocations: 3.672 kB / 0.5225 GB, free: 1.039 MB / 382.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 5.249e-05/0.3432, allocations: 120 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.3432, allocations: 2.812 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.3433, allocations: 99.91 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3434, allocations: 2.656 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3434, allocations: 0 / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3434, allocations: 0.75 kB / 0.5228 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.565e-05/0.3435, allocations: 173.9 kB / 0.5229 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3435, allocations: 1.094 kB / 0.5229 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.3435, allocations: 19.47 kB / 0.5229 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3436, allocations: 0 / 0.5229 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3436, allocations: 9.531 kB / 0.5229 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3436, allocations: 0.9688 kB / 0.5229 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3436, allocations: 1.125 kB / 0.5229 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.3437, allocations: 106.5 kB / 0.523 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.3437, allocations: 83.59 kB / 0.5231 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3438, allocations: 9.875 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.3438, allocations: 0 / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.3438, allocations: 13.33 kB / 0.5232 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3438, allocations: 3.172 kB / 0.5232 GB, free: 448 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.3439, allocations: 80.22 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3439, allocations: 3.938 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.3441, allocations: 17.23 kB / 0.5233 GB, free: 360 kB / 382.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.0001277/0.3442, allocations: 109.5 kB / 0.5234 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.3444, allocations: 58.62 kB / 0.5234 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3444, allocations: 96 / 0.5234 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.3444, allocations: 30.45 kB / 0.5234 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.3446, allocations: 7.078 kB / 0.5234 GB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3449, allocations: 163 kB / 0.5236 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.3451, allocations: 0.6843 MB / 0.5243 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.3452, allocations: 12.81 kB / 0.5243 GB, free: 15.37 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3452, allocations: 1.125 kB / 0.5243 GB, free: 15.37 MB / 398.1 MB Notification: Performance of Templates: time 0.00251/0.3477, allocations: 0.8124 MB / 0.5251 GB, free: 15.3 MB / 398.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