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.001313/0.001313, allocations: 118.9 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.89 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.295, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001635/0.2966, allocations: 0.523 MB / 0.5322 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.2971, allocations: 156.5 kB / 0.5323 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.2971, allocations: 0 / 0.5323 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.2971, allocations: 3.938 kB / 0.5323 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.2974, allocations: 32.33 kB / 0.5323 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.57e-06/0.2974, allocations: 3.406 kB / 0.5324 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.761e-05/0.2975, allocations: 25.83 kB / 0.5324 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.2975, allocations: 6.531 kB / 0.5324 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.2976, allocations: 15.17 kB / 0.5324 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.2976, allocations: 12.11 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.2976, allocations: 1.625 kB / 0.5324 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.2978, allocations: 52.92 kB / 0.5325 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.2978, allocations: 7.922 kB / 0.5325 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.2978, allocations: 14.58 kB / 0.5325 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.2979, allocations: 38.3 kB / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2979, allocations: 0 / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2979, allocations: 0 / 0.5325 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.2979, allocations: 7.344 kB / 0.5325 GB, free: 12.93 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.0003109/0.2983, allocations: 337.2 kB / 0.5328 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2983, allocations: 10.59 kB / 0.5329 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.2983, allocations: 4.844 kB / 0.5329 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2985, allocations: 172.1 kB / 0.533 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2985, allocations: 3.938 kB / 0.533 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2985, allocations: 7.891 kB / 0.533 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.2986, allocations: 64.39 kB / 0.5331 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2986, allocations: 192 / 0.5331 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2987, allocations: 3.938 kB / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2987, allocations: 0 / 0.5331 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.2988, allocations: 54.77 kB / 0.5332 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.299, allocations: 167.2 kB / 0.5333 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2991, allocations: 83.67 kB / 0.5334 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.2992, allocations: 34.59 kB / 0.5334 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.2995, allocations: 250.6 kB / 0.5337 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2995, allocations: 34.56 kB / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.2995, allocations: 0 / 0.5337 GB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002335/0.2998, allocations: 114.3 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.2998, allocations: 52.84 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.2999, allocations: 95.72 kB / 0.5339 GB, free: 11.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2999, allocations: 29.64 kB / 0.534 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.3, allocations: 81.2 kB / 0.5341 GB, free: 11.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.3, allocations: 33.02 kB / 0.5341 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3, allocations: 23.92 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3002, allocations: 312.5 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.3002, allocations: 26.11 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.3003, allocations: 14.59 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.3004, allocations: 54.62 kB / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3004, allocations: 0 / 0.5345 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001282/0.3005, allocations: 86.81 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3005, allocations: 5.062 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3005, allocations: 5.219 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3005, allocations: 3.938 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3007, allocations: 21.52 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3007, allocations: 5.125 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.3007, allocations: 5.094 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3007, allocations: 2.219 kB / 0.5346 GB, free: 10.81 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 9.058e-05/0.3008, allocations: 112.1 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.3008, allocations: 2.188 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.301, allocations: 99.55 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3011, allocations: 3.984 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3011, allocations: 0 / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.3011, allocations: 91.7 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3011, allocations: 4 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.774e-05/0.3012, allocations: 1.344 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.3012, allocations: 6.609 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001677/0.3014, allocations: 171 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001852/0.3016, allocations: 259.8 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.317e-05/0.3016, allocations: 26.45 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.174e-05/0.3017, allocations: 85.22 kB / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Backend: time 2.71e-07/0.3017, allocations: 0 / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.3021, allocations: 122.7 kB / 0.5356 GB, free: 9.945 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003739/0.3025, allocations: 0.5587 MB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of Templates: time 0.003091/0.3056, allocations: 0.9563 MB / 0.537 GB, free: 8.863 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