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.000751/0.000751, allocations: 95.34 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009981/0.0009983, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1947/0.1947, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0005864/0.1139, allocations: 261.3 kB / 483.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004003/0.1143, allocations: 163.5 kB / 483.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.1144, allocations: 0 / 483.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.144e-05/0.1144, allocations: 0 / 483.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.1146, allocations: 19.91 kB / 483.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.045e-06/0.1146, allocations: 4 kB / 483.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.1147, allocations: 31.8 kB / 483.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1147, allocations: 0 / 483.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1148, allocations: 19.86 kB / 483.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.1148, allocations: 11.92 kB / 483.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1148, allocations: 0 / 483.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1149, allocations: 51.95 kB / 483.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.115, allocations: 11.98 kB / 483.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.115, allocations: 33.62 kB / 483.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.256e-05/0.1151, allocations: 39.89 kB / 483.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1151, allocations: 0 / 483.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1151, allocations: 0 / 483.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1151, allocations: 4 kB / 483.7 MB, free: 3.52 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.0002665/0.1154, allocations: 334.1 kB / 484 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1154, allocations: 12.02 kB / 484 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1155, allocations: 8.844 kB / 484.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.1156, allocations: 168.3 kB / 484.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1156, allocations: 4.375 kB / 484.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1156, allocations: 4.375 kB / 484.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1157, allocations: 58.23 kB / 484.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1157, allocations: 4.125 kB / 484.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1158, allocations: 11.94 kB / 484.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1158, allocations: 0 / 484.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.1159, allocations: 51.95 kB / 484.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1161, allocations: 165.7 kB / 484.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1162, allocations: 74.55 kB / 484.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.1163, allocations: 41.06 kB / 484.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.1166, allocations: 255.3 kB / 484.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1166, allocations: 34.56 kB / 484.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1167, allocations: 0 / 484.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002189/0.1169, allocations: 113.4 kB / 485 MB, free: 1.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1169, allocations: 51.41 kB / 485.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.117, allocations: 97.86 kB / 485.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.117, allocations: 25.7 kB / 485.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.117, allocations: 88.25 kB / 485.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1171, allocations: 27.56 kB / 485.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.1171, allocations: 17.72 kB / 485.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1172, allocations: 314.8 kB / 485.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.1173, allocations: 12 kB / 485.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.1173, allocations: 23.98 kB / 485.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/0.1174, allocations: 52.78 kB / 485.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1174, allocations: 0 / 485.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001194/0.1175, allocations: 85.62 kB / 485.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1175, allocations: 8 kB / 485.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1175, allocations: 3.938 kB / 485.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1175, allocations: 0 / 485.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.1177, allocations: 16.66 kB / 485.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1177, allocations: 0 / 485.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.1177, allocations: 11.83 kB / 485.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1177, allocations: 12 kB / 485.8 MB, free: 1.098 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 6.494e-05/0.1178, allocations: 105.8 kB / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.1178, allocations: 4 kB / 486 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.118, allocations: 113.4 kB / 486.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.118, allocations: 4 kB / 486.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.118, allocations: 0 / 486.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.118, allocations: 0 / 486.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.1181, allocations: 177.5 kB / 486.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1182, allocations: 0 / 486.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.1182, allocations: 15.94 kB / 486.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1182, allocations: 0 / 486.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1182, allocations: 11.92 kB / 486.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1183, allocations: 8 kB / 486.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1183, allocations: 0 / 486.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.1184, allocations: 101.1 kB / 486.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.1185, allocations: 85.02 kB / 486.5 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1185, allocations: 11.92 kB / 486.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.1185, allocations: 0 / 486.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1185, allocations: 4 kB / 486.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1185, allocations: 4 kB / 486.5 MB, free: 372 kB / 350.1 MB Notification: Performance of sorting global known variables: time 2.871e-05/0.1186, allocations: 79.28 kB / 486.6 MB, free: 292 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1186, allocations: 0 / 486.6 MB, free: 292 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.1188, allocations: 23.98 kB / 486.6 MB, free: 268 kB / 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.0001187/0.1189, allocations: 107.2 kB / 486.7 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.119, allocations: 47.92 kB / 486.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.119, allocations: 0 / 486.7 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.1191, allocations: 36.3 kB / 486.8 MB, free: 68 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1192, allocations: 8.281 kB / 486.8 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.1195, allocations: 150.9 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1198, allocations: 0.6878 MB / 487.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.1198, allocations: 4 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.1199, allocations: 15.42 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1199, allocations: 4 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Templates: time 0.002579/0.1225, allocations: 0.6173 MB / 488.2 MB, free: 14.53 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