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.0007969/0.000797, allocations: 95.19 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008926/0.0008926, allocations: 205.5 kB / 18.28 MB, free: 5.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.8 MB / 246.8 MB, free: 9.723 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.2 MB / 345.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002698, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 63.58 MB / 483.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006674/0.1212, allocations: 269.3 kB / 483.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004837/0.1217, allocations: 151.6 kB / 483.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.1217, allocations: 0 / 483.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.1218, allocations: 0 / 483.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.122, allocations: 31.89 kB / 483.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.076e-06/0.122, allocations: 3.938 kB / 483.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.122, allocations: 23.86 kB / 483.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1221, allocations: 8 kB / 483.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.1221, allocations: 11.92 kB / 483.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.1222, allocations: 19.86 kB / 483.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1222, allocations: 0 / 483.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1223, allocations: 51.95 kB / 483.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1224, allocations: 0 / 483.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.1224, allocations: 41.61 kB / 483.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1225, allocations: 35.91 kB / 483.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1225, allocations: 0 / 483.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1225, allocations: 0 / 483.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.1225, allocations: 0 / 483.8 MB, free: 3.383 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.0003368/0.1229, allocations: 331.9 kB / 484.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1229, allocations: 12.88 kB / 484.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.123, allocations: 8.828 kB / 484.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1231, allocations: 172.2 kB / 484.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1231, allocations: 4.375 kB / 484.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.1232, allocations: 8.375 kB / 484.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1233, allocations: 54.23 kB / 484.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1233, allocations: 192 / 484.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1233, allocations: 3.938 kB / 484.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1233, allocations: 8 kB / 484.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1235, allocations: 55.89 kB / 484.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1237, allocations: 169.7 kB / 484.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1238, allocations: 78.55 kB / 484.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1239, allocations: 24.86 kB / 484.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.1242, allocations: 255.3 kB / 485 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1243, allocations: 38.84 kB / 485 MB, free: 1.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1243, allocations: 3.938 kB / 485 MB, free: 1.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002293/0.1245, allocations: 109.5 kB / 485.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.1246, allocations: 59.34 kB / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.1246, allocations: 89.86 kB / 485.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1247, allocations: 25.7 kB / 485.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1247, allocations: 84.14 kB / 485.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.1248, allocations: 35.67 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1248, allocations: 13.72 kB / 485.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1249, allocations: 318.8 kB / 485.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.125, allocations: 16 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.125, allocations: 19.98 kB / 485.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.553e-05/0.1251, allocations: 52.8 kB / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1251, allocations: 0 / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001329/0.1253, allocations: 81.67 kB / 485.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1253, allocations: 8 kB / 485.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1253, allocations: 11.92 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1253, allocations: 0.6562 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.1254, allocations: 15.94 kB / 485.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1254, allocations: 0 / 485.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.1255, allocations: 15.84 kB / 486 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1255, allocations: 3.984 kB / 486 MB, free: 0.957 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.746e-05/0.1256, allocations: 113.8 kB / 486.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1256, allocations: 0 / 486.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1258, allocations: 117.4 kB / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1258, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1258, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1258, allocations: 0 / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.126, allocations: 177.5 kB / 486.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.126, allocations: 0 / 486.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.1261, allocations: 12 kB / 486.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1261, allocations: 4 kB / 486.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1261, allocations: 3.938 kB / 486.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1261, allocations: 7.922 kB / 486.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1261, allocations: 0 / 486.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.1263, allocations: 109.1 kB / 486.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.1263, allocations: 81.02 kB / 486.6 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1263, allocations: 11.88 kB / 486.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.781e-05/0.1264, allocations: 7.984 kB / 486.6 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.1264, allocations: 4 kB / 486.6 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1264, allocations: 0 / 486.6 MB, free: 224 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.1265, allocations: 79.28 kB / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1265, allocations: 0 / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000202/0.1267, allocations: 20 kB / 486.7 MB, free: 124 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.0001462/0.1268, allocations: 107.2 kB / 486.8 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.127, allocations: 51.92 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.127, allocations: 4.375 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.127, allocations: 35.86 kB / 486.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1272, allocations: 4 kB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.1275, allocations: 154.8 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1278, allocations: 0.6809 MB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.1279, allocations: 4 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1279, allocations: 11.44 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1279, allocations: 0 / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Templates: time 0.002998/0.1309, allocations: 0.6169 MB / 488.4 MB, free: 14.4 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