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.001212/0.001212, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2901, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001791/0.292, allocations: 0.5288 MB / 0.5322 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.2924, allocations: 151.9 kB / 0.5323 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.2925, allocations: 0 / 0.5323 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.2925, allocations: 7.875 kB / 0.5323 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.2928, allocations: 34.17 kB / 0.5324 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.2928, allocations: 3.938 kB / 0.5324 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.2929, allocations: 25.33 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.2929, allocations: 5.375 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.293, allocations: 18.98 kB / 0.5324 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.293, allocations: 11.89 kB / 0.5324 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2931, allocations: 1.312 kB / 0.5324 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2932, allocations: 48.45 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.2932, allocations: 9.422 kB / 0.5325 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.2932, allocations: 13.02 kB / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.2934, allocations: 38.78 kB / 0.5325 GB, free: 12.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.2934, allocations: 0 / 0.5325 GB, free: 12.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2934, allocations: 5.375 kB / 0.5325 GB, free: 12.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2934, allocations: 0 / 0.5325 GB, free: 12.92 MB / 398.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.0003512/0.2937, allocations: 351.7 kB / 0.5329 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2938, allocations: 8.281 kB / 0.5329 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.2938, allocations: 2.375 kB / 0.5329 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.294, allocations: 161.8 kB / 0.533 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.294, allocations: 7.594 kB / 0.533 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.294, allocations: 6.156 kB / 0.533 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.2941, allocations: 56.83 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2942, allocations: 4.172 kB / 0.5331 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2942, allocations: 5.719 kB / 0.5331 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2942, allocations: 0 / 0.5331 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.2943, allocations: 58.45 kB / 0.5332 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.2945, allocations: 170.7 kB / 0.5333 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2946, allocations: 79.73 kB / 0.5334 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.2947, allocations: 30.81 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.295, allocations: 249.5 kB / 0.5337 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.295, allocations: 44.27 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.2951, allocations: 0 / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000229/0.2953, allocations: 106 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2953, allocations: 52.78 kB / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.2954, allocations: 95.22 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2954, allocations: 27.08 kB / 0.534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.2954, allocations: 84.14 kB / 0.5341 GB, free: 11.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.2955, allocations: 35.77 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.2955, allocations: 28.7 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2956, allocations: 316.2 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.2957, allocations: 17.61 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.2957, allocations: 15 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.2958, allocations: 53.59 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2958, allocations: 0 / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001198/0.2959, allocations: 86.58 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.296, allocations: 10.09 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.296, allocations: 1.375 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.296, allocations: 7.938 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.2961, allocations: 21.67 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2961, allocations: 0 / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.2962, allocations: 9.312 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2962, allocations: 2.75 kB / 0.5346 GB, free: 10.79 MB / 398.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 7.014e-05/0.2962, allocations: 115.2 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.2963, allocations: 6.703 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.2965, allocations: 107.9 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2965, allocations: 0 / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.2965, allocations: 0 / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.2965, allocations: 79.86 kB / 0.5349 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2965, allocations: 4 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.716e-05/0.2966, allocations: 1.375 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.2966, allocations: 6.734 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001643/0.2968, allocations: 169.9 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001925/0.297, allocations: 263.6 kB / 0.5354 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.599e-05/0.297, allocations: 31.11 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.77e-05/0.2971, allocations: 76.59 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.2971, allocations: 0 / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004049/0.2975, allocations: 123.7 kB / 0.5356 GB, free: 9.922 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003973/0.2979, allocations: 0.5548 MB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Templates: time 0.003102/0.301, allocations: 0.9355 MB / 0.537 GB, free: 8.855 MB / 398.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/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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches