Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 87.67 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 161.7 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3539/0.3539, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.196e-05, allocations: 6.25 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001864/0.001896, allocations: 0.5316 MB / 375.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004781/0.002375, allocations: 147.4 kB / 375.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.002407, allocations: 4 kB / 375.9 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.002421, allocations: 0 / 375.9 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.002713, allocations: 39.77 kB / 376 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.459e-06/0.002717, allocations: 0 / 376 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.00279, allocations: 23.86 kB / 376 MB, free: 4.254 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.002832, allocations: 4 kB / 376 MB, free: 4.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.002871, allocations: 7.984 kB / 376 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.002943, allocations: 23.91 kB / 376 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.002955, allocations: 0 / 376 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.0031, allocations: 43.95 kB / 376.1 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.003116, allocations: 3.938 kB / 376.1 MB, free: 4.172 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.003137, allocations: 7.984 kB / 376.1 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.003281, allocations: 51.75 kB / 376.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.003286, allocations: 0 / 376.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003286, allocations: 0 / 376.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.003292, allocations: 0 / 376.1 MB, free: 4.113 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.0004358/0.003728, allocations: 372.2 kB / 376.5 MB, free: 3.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.00377, allocations: 8.031 kB / 376.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.003827, allocations: 12.89 kB / 376.5 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.003954, allocations: 108.6 kB / 376.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.00398, allocations: 4.375 kB / 376.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.003994, allocations: 4.375 kB / 376.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.004148, allocations: 62.17 kB / 376.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004156, allocations: 192 / 376.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.004167, allocations: 384 / 376.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.004176, allocations: 8.375 kB / 376.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.00431, allocations: 51.89 kB / 376.8 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.004514, allocations: 120.6 kB / 376.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.004693, allocations: 91.06 kB / 377 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.004748, allocations: 27.69 kB / 377 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.005034, allocations: 27.97 kB / 377 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.005077, allocations: 37.39 kB / 377.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.005078, allocations: 0 / 377.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002954/0.005373, allocations: 113.7 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.005425, allocations: 51.41 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.005559, allocations: 157.9 kB / 377.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.005584, allocations: 33.83 kB / 377.4 MB, free: 2.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.005666, allocations: 126.9 kB / 377.5 MB, free: 2.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.005726, allocations: 35.69 kB / 377.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.005784, allocations: 27.38 kB / 377.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.006066, allocations: 0.4884 MB / 378.1 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.006108, allocations: 12 kB / 378.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.006149, allocations: 23.92 kB / 378.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.951e-05/0.006249, allocations: 51.69 kB / 378.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006251, allocations: 0 / 378.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.006414, allocations: 90.17 kB / 378.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.006432, allocations: 5.875 kB / 378.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006437, allocations: 4 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.006457, allocations: 4 kB / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.00657, allocations: 16 kB / 378.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006576, allocations: 0 / 378.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.006612, allocations: 11.83 kB / 378.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.006622, allocations: 4 kB / 378.3 MB, free: 1.75 MB / 346.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 0.0001322/0.006754, allocations: 168.5 kB / 378.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.006772, allocations: 4 kB / 378.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.007008, allocations: 97.67 kB / 378.6 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007011, allocations: 4 kB / 378.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.007015, allocations: 0 / 378.6 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.007023, allocations: 7.875 kB / 378.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.00718, allocations: 136.6 kB / 378.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.007182, allocations: 0 / 378.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.007256, allocations: 12 kB / 378.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.007258, allocations: 0 / 378.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.007275, allocations: 8 kB / 378.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007277, allocations: 0 / 378.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.007281, allocations: 3.984 kB / 378.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.007483, allocations: 128.3 kB / 378.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.007499, allocations: 15.89 kB / 378.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.007514, allocations: 4 kB / 378.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.007539, allocations: 3.938 kB / 378.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.007567, allocations: 7.984 kB / 378.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.007571, allocations: 0 / 378.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.329e-05/0.007645, allocations: 123.2 kB / 379 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007645, allocations: 0 / 379 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.007867, allocations: 19.94 kB / 379 MB, free: 0.9492 MB / 346.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.0001831/0.00805, allocations: 107.2 kB / 379.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.00823, allocations: 71.69 kB / 379.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008232, allocations: 0 / 379.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.008298, allocations: 39.61 kB / 379.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.008455, allocations: 0 / 379.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.008868, allocations: 146.3 kB / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.537e-05/0.008943, allocations: 67.28 kB / 379.4 MB, free: 468 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.635e-05/0.008979, allocations: 4 kB / 379.4 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.009012, allocations: 16.5 kB / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of SimCode: time 4.6e-07/0.009012, allocations: 0 / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of Templates: time 0.003993/0.01301, allocations: 0.6512 MB / 380.1 MB, free: 15.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.077510041999631]