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.001309/0.001309, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001407/0.001407, allocations: 194 kB / 18.12 MB, free: 5.363 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.331/1.331, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.1981/0.1981, allocations: 44.18 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 63.03 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 60.82 MB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001851/0.1186, allocations: 0.5908 MB / 469.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005339/0.1192, allocations: 171.5 kB / 469.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.1192, allocations: 0 / 469.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.1193, allocations: 0 / 469.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1195, allocations: 19.92 kB / 469.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.1195, allocations: 0 / 469.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.92e-05/0.1196, allocations: 27.84 kB / 469.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.1197, allocations: 4 kB / 469.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.1197, allocations: 15.86 kB / 469.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.1198, allocations: 15.92 kB / 469.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1198, allocations: 4 kB / 469.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1199, allocations: 51.95 kB / 469.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.1199, allocations: 0 / 469.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.12, allocations: 19.91 kB / 469.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1201, allocations: 35.89 kB / 469.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1201, allocations: 0 / 469.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1201, allocations: 0 / 469.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1201, allocations: 0 / 469.5 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.0004038/0.1206, allocations: 343.8 kB / 469.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1206, allocations: 12.03 kB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.1207, allocations: 8.844 kB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1208, allocations: 164.3 kB / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1208, allocations: 4.375 kB / 470 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1208, allocations: 4.375 kB / 470 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.121, allocations: 62.17 kB / 470 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.121, allocations: 4.125 kB / 470.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.121, allocations: 7.922 kB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.121, allocations: 4 kB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1211, allocations: 51.95 kB / 470.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.1213, allocations: 173.7 kB / 470.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1215, allocations: 78.55 kB / 470.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.1215, allocations: 33.06 kB / 470.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/0.1219, allocations: 255.3 kB / 470.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.122, allocations: 30.56 kB / 470.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.122, allocations: 4 kB / 470.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000246/0.1222, allocations: 109.5 kB / 470.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.1223, allocations: 59.39 kB / 470.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.1223, allocations: 89.86 kB / 470.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1224, allocations: 25.7 kB / 471 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.1224, allocations: 80.14 kB / 471 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1225, allocations: 31.55 kB / 471.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.1225, allocations: 25.72 kB / 471.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1226, allocations: 315 kB / 471.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.504e-05/0.1227, allocations: 19.98 kB / 471.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.1227, allocations: 23.98 kB / 471.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.1228, allocations: 53.3 kB / 471.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1228, allocations: 0 / 471.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001284/0.1229, allocations: 81.62 kB / 471.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.123, allocations: 8 kB / 471.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.123, allocations: 3.938 kB / 471.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.123, allocations: 0 / 471.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1231, allocations: 27.92 kB / 471.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1231, allocations: 0 / 471.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.1232, allocations: 11.84 kB / 471.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1232, allocations: 4 kB / 471.6 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 8.03e-05/0.1233, allocations: 109.8 kB / 471.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.1233, allocations: 0 / 471.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.1235, allocations: 109.5 kB / 471.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1235, allocations: 0 / 471.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1235, allocations: 4 kB / 471.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1235, allocations: 0 / 471.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1236, allocations: 173.6 kB / 472 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1237, allocations: 0 / 472 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.1237, allocations: 19.92 kB / 472 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1237, allocations: 4 kB / 472 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1238, allocations: 7.938 kB / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1238, allocations: 0 / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1238, allocations: 0 / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.1239, allocations: 117.2 kB / 472.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.124, allocations: 81.02 kB / 472.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.124, allocations: 11.94 kB / 472.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.124, allocations: 0 / 472.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.124, allocations: 7.984 kB / 472.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.124, allocations: 0 / 472.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.902e-05/0.1241, allocations: 75.28 kB / 472.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1241, allocations: 0 / 472.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.1243, allocations: 20.09 kB / 472.4 MB, free: 10.65 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.0001346/0.1244, allocations: 111.7 kB / 472.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1246, allocations: 59.91 kB / 472.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1246, allocations: 0 / 472.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.1246, allocations: 31.92 kB / 472.5 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.0001421/0.1248, allocations: 4 kB / 472.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.1251, allocations: 156.4 kB / 472.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.1254, allocations: 0.6809 MB / 473.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.812e-05/0.1254, allocations: 12 kB / 473.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.1255, allocations: 7.438 kB / 473.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1255, allocations: 4 kB / 473.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Templates: time 0.002812/0.1283, allocations: 0.6333 MB / 474 MB, free: 8.891 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