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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009371/0.0009371, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9871/0.9871, allocations: 177 MB / 205.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 34.86 MB / 296.6 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.972e-05, allocations: 6.312 kB / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00195/0.00198, allocations: 0.5336 MB / 379.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.002401, allocations: 143.5 kB / 379.4 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.002437, allocations: 3.938 kB / 379.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.002456, allocations: 4 kB / 379.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.002756, allocations: 43.77 kB / 379.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.858e-06/0.00276, allocations: 0 / 379.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.745e-05/0.002827, allocations: 19.92 kB / 379.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.002872, allocations: 0 / 379.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.002907, allocations: 15.92 kB / 379.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.00298, allocations: 19.91 kB / 379.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.002994, allocations: 0 / 379.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.003114, allocations: 47.89 kB / 379.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.00313, allocations: 7.922 kB / 379.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.003146, allocations: 8 kB / 379.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.00328, allocations: 47.81 kB / 379.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.003284, allocations: 0 / 379.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003284, allocations: 0 / 379.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.003289, allocations: 0 / 379.6 MB, free: 1.531 MB / 346.7 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.0003524/0.003641, allocations: 372.5 kB / 380 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.003682, allocations: 8.031 kB / 380 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.003731, allocations: 4.938 kB / 380 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/0.00383, allocations: 112.6 kB / 380.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.003843, allocations: 4.375 kB / 380.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003854, allocations: 4.375 kB / 380.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.003957, allocations: 54.23 kB / 380.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003964, allocations: 4.188 kB / 380.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.003976, allocations: 4.375 kB / 380.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.003984, allocations: 384 / 380.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.004063, allocations: 55.75 kB / 380.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.004199, allocations: 124.6 kB / 380.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.00432, allocations: 75.03 kB / 380.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.00436, allocations: 31.67 kB / 380.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.004554, allocations: 28.27 kB / 380.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.004578, allocations: 41.33 kB / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.004579, allocations: 0 / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001801/0.004759, allocations: 93.61 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.004787, allocations: 51.41 kB / 380.7 MB, free: 344 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.004853, allocations: 157.9 kB / 380.8 MB, free: 168 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.004864, allocations: 29.7 kB / 380.9 MB, free: 132 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.004891, allocations: 126.9 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.00494, allocations: 43.8 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.00497, allocations: 31.31 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.005077, allocations: 0.4924 MB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.005101, allocations: 12 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.005121, allocations: 15.98 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.00518, allocations: 43.62 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005181, allocations: 0 / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.17e-05/0.005273, allocations: 85.61 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.005287, allocations: 8 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005291, allocations: 0 / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.005303, allocations: 0 / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.005384, allocations: 12 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.005389, allocations: 0 / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.005406, allocations: 15.7 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.005412, allocations: 7.984 kB / 381.7 MB, free: 15.21 MB / 362.7 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.294e-05/0.005485, allocations: 156.6 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.005495, allocations: 8 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.005634, allocations: 89.58 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.005636, allocations: 0 / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.00564, allocations: 0 / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.005645, allocations: 7.938 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.086e-05/0.005725, allocations: 128.6 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005727, allocations: 0 / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.005768, allocations: 19.94 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005769, allocations: 0 / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.005778, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005779, allocations: 0 / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.005781, allocations: 3.984 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.833e-05/0.005879, allocations: 117.1 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.005888, allocations: 11.89 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.0059, allocations: 8 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.005909, allocations: 0 / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.005928, allocations: 7.984 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005931, allocations: 4 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.005964, allocations: 127.1 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005964, allocations: 0 / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.006109, allocations: 19.98 kB / 382.4 MB, free: 14.44 MB / 362.7 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.0001217/0.006231, allocations: 107.1 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.006338, allocations: 63.62 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.006341, allocations: 4 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.006368, allocations: 31.61 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.006484, allocations: 8.094 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.006751, allocations: 146.3 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.006781, allocations: 55.36 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.006811, allocations: 7.984 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.006832, allocations: 16.5 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.006832, allocations: 0 / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of Templates: time 0.002157/0.00899, allocations: 0.6398 MB / 383.5 MB, free: 13.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9824082639534026]