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.0008396/0.0008396, allocations: 91.44 kB / 18 MB, free: 5.602 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.000898/0.000898, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.352/1.352, allocations: 223.3 MB / 243 MB, free: 14.28 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.2094/0.2094, allocations: 44.25 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007039/0.1162, allocations: 254.8 kB / 473.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004998/0.1167, allocations: 171.4 kB / 473.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.1167, allocations: 0 / 473.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1168, allocations: 4 kB / 473.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.117, allocations: 19.91 kB / 473.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.677e-06/0.1171, allocations: 4 kB / 473.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.1171, allocations: 19.92 kB / 473.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1172, allocations: 3.938 kB / 473.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.1172, allocations: 11.98 kB / 473.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.1173, allocations: 19.84 kB / 473.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1173, allocations: 0 / 473.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1174, allocations: 51.95 kB / 473.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.1175, allocations: 7.938 kB / 473.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.1175, allocations: 41.62 kB / 473.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.133e-05/0.1176, allocations: 31.95 kB / 473.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1176, allocations: 0 / 473.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1176, allocations: 0 / 473.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1176, allocations: 0 / 473.5 MB, free: 12.66 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.0003106/0.1179, allocations: 326.1 kB / 473.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.118, allocations: 8.031 kB / 473.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.118, allocations: 8.844 kB / 473.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1182, allocations: 172.3 kB / 474 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1182, allocations: 12.31 kB / 474.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1182, allocations: 384 / 474.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1184, allocations: 58.23 kB / 474.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1184, allocations: 192 / 474.1 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1184, allocations: 7.938 kB / 474.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1184, allocations: 0 / 474.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1185, allocations: 55.89 kB / 474.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.1188, allocations: 169.7 kB / 474.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1189, allocations: 82.48 kB / 474.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.119, allocations: 36.84 kB / 474.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/0.1194, allocations: 255.3 kB / 474.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1194, allocations: 34.78 kB / 474.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.1194, allocations: 0 / 474.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000257/0.1197, allocations: 109.5 kB / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1197, allocations: 51.41 kB / 474.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.1198, allocations: 101.9 kB / 475 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1198, allocations: 25.7 kB / 475 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.1199, allocations: 80.14 kB / 475.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.1199, allocations: 31.55 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.12, allocations: 17.72 kB / 475.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1201, allocations: 310.8 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.1201, allocations: 23.98 kB / 475.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.91e-05/0.1202, allocations: 15.98 kB / 475.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.999e-05/0.1203, allocations: 52.92 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1203, allocations: 4.562 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001506/0.1204, allocations: 81.62 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1205, allocations: 6.188 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1205, allocations: 3.938 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1205, allocations: 4 kB / 475.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1206, allocations: 19.92 kB / 475.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1206, allocations: 0 / 475.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.1207, allocations: 11.84 kB / 475.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1207, allocations: 4 kB / 475.7 MB, free: 10.25 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.268e-05/0.1208, allocations: 113.8 kB / 475.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1208, allocations: 4 kB / 475.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.121, allocations: 101.5 kB / 475.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.121, allocations: 7.938 kB / 475.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.121, allocations: 4 kB / 475.9 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.121, allocations: 0 / 475.9 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1212, allocations: 173.6 kB / 476.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1212, allocations: 4 kB / 476.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.1213, allocations: 23.92 kB / 476.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1213, allocations: 0 / 476.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1213, allocations: 7.938 kB / 476.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1213, allocations: 0 / 476.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1213, allocations: 0 / 476.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.1215, allocations: 109 kB / 476.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1215, allocations: 81.02 kB / 476.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1215, allocations: 7.938 kB / 476.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.1215, allocations: 4 kB / 476.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.1216, allocations: 7.984 kB / 476.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1216, allocations: 4 kB / 476.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.1216, allocations: 79.56 kB / 476.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 476.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1218, allocations: 12 kB / 476.4 MB, free: 9.414 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.0001623/0.122, allocations: 119.6 kB / 476.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.1222, allocations: 56.02 kB / 476.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1222, allocations: 0 / 476.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.1222, allocations: 31.92 kB / 476.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1224, allocations: 10.62 kB / 476.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1228, allocations: 178.1 kB / 476.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1231, allocations: 0.6809 MB / 477.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1231, allocations: 15.44 kB / 477.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1231, allocations: 0 / 477.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of Templates: time 0.002577/0.1257, allocations: 0.8048 MB / 478.3 MB, free: 7.453 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