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.001553/0.001553, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 76.73 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001672/0.119, allocations: 0.5183 MB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.1194, allocations: 162 kB / 482.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.1194, allocations: 0 / 482.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1194, allocations: 3.938 kB / 482.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1197, allocations: 43.84 kB / 482.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.1197, allocations: 0 / 482.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.003e-05/0.1197, allocations: 15.92 kB / 482.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.1198, allocations: 3.984 kB / 482.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.1198, allocations: 15.92 kB / 482.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.1198, allocations: 15.92 kB / 482.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1199, allocations: 4 kB / 482.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.12, allocations: 43.95 kB / 482.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.12, allocations: 11.92 kB / 482.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.12, allocations: 7.875 kB / 482.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.1201, allocations: 47.88 kB / 482.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1201, allocations: 4 kB / 482.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1202, allocations: 0 / 482.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1202, allocations: 0 / 482.4 MB, free: 3.637 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.0002886/0.1205, allocations: 339.5 kB / 482.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1205, allocations: 8.031 kB / 482.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.1205, allocations: 12.83 kB / 482.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1206, allocations: 168.3 kB / 482.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1207, allocations: 8.375 kB / 482.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.1207, allocations: 384 / 482.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1208, allocations: 62.23 kB / 482.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1208, allocations: 192 / 482.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1208, allocations: 3.938 kB / 482.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1208, allocations: 4 kB / 482.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/0.1209, allocations: 51.95 kB / 483 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1211, allocations: 177.6 kB / 483.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1212, allocations: 74.56 kB / 483.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.1213, allocations: 32.84 kB / 483.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.1216, allocations: 259.3 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1216, allocations: 30.56 kB / 483.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1216, allocations: 0 / 483.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002105/0.1219, allocations: 109.7 kB / 483.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1219, allocations: 55.41 kB / 483.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.122, allocations: 97.8 kB / 483.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.122, allocations: 29.7 kB / 483.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.122, allocations: 80.14 kB / 483.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1221, allocations: 31.55 kB / 484 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1221, allocations: 21.72 kB / 484 MB, free: 1.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.1222, allocations: 319.2 kB / 484.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.1222, allocations: 16 kB / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.1223, allocations: 23.86 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.701e-05/0.1223, allocations: 56.98 kB / 484.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1224, allocations: 0 / 484.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.1225, allocations: 81.62 kB / 484.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1225, allocations: 4 kB / 484.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1225, allocations: 11.92 kB / 484.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1225, allocations: 0 / 484.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1226, allocations: 19.94 kB / 484.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1226, allocations: 0 / 484.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.1227, allocations: 11.84 kB / 484.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1227, allocations: 0 / 484.5 MB, free: 1.199 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 7.251e-05/0.1228, allocations: 117.8 kB / 484.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.1228, allocations: 3.984 kB / 484.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.123, allocations: 105.5 kB / 484.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.123, allocations: 0 / 484.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.123, allocations: 0 / 484.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.123, allocations: 0 / 484.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1231, allocations: 177.9 kB / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1231, allocations: 0 / 484.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.1232, allocations: 12 kB / 484.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1232, allocations: 8 kB / 484.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1232, allocations: 7.875 kB / 484.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1232, allocations: 0 / 484.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1232, allocations: 0 / 484.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1233, allocations: 113 kB / 485 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.1234, allocations: 81.02 kB / 485.1 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1234, allocations: 7.938 kB / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.1234, allocations: 0 / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.1235, allocations: 19.92 kB / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1235, allocations: 0 / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.1235, allocations: 75.28 kB / 485.2 MB, free: 392 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1235, allocations: 0 / 485.2 MB, free: 392 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000196/0.1237, allocations: 16 kB / 485.2 MB, free: 376 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.0001199/0.1238, allocations: 115.1 kB / 485.3 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.124, allocations: 51.92 kB / 485.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.124, allocations: 4.094 kB / 485.4 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.1241, allocations: 35.92 kB / 485.4 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1242, allocations: 4 kB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.1245, allocations: 137 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1247, allocations: 0.6841 MB / 486.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.503e-05/0.1247, allocations: 12 kB / 486.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.1248, allocations: 7.438 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1248, allocations: 8.469 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.002576/0.1274, allocations: 0.6368 MB / 486.9 MB, free: 14.62 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 -s cvode -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