Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002478/0.002478, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003153/0.003153, allocations: 165.6 kB / 24.27 MB, free: 152 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.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3591/0.3591, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/2.984e-05, allocations: 6.25 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001645/0.001675, allocations: 0.5273 MB / 377.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.002114, allocations: 147.5 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.002139, allocations: 0 / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.002154, allocations: 3.938 kB / 377.9 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.002423, allocations: 43.7 kB / 378 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.928e-06/0.002427, allocations: 0 / 378 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.00249, allocations: 23.92 kB / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.002526, allocations: 3.984 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.002565, allocations: 15.94 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.002625, allocations: 15.91 kB / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.002637, allocations: 0 / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.002754, allocations: 43.95 kB / 378.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.002766, allocations: 3.984 kB / 378.1 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.002788, allocations: 11.94 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.002918, allocations: 43.86 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.002921, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002922, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.002925, allocations: 4 kB / 378.2 MB, free: 2.121 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.0004304/0.003356, allocations: 372.1 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.00339, allocations: 8.031 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.003439, allocations: 12.89 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.003561, allocations: 112.6 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.003574, allocations: 4.375 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.003587, allocations: 4.375 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.003957, allocations: 58.23 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.003966, allocations: 192 / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.003976, allocations: 384 / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.003981, allocations: 4.375 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.004119, allocations: 63.83 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.004321, allocations: 116.6 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.004493, allocations: 87.02 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.00455, allocations: 31.67 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.0048, allocations: 23.98 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.004839, allocations: 37.39 kB / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.00484, allocations: 288 / 379.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002811/0.005121, allocations: 109.6 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.00517, allocations: 59.34 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.005287, allocations: 153.9 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.005315, allocations: 33.7 kB / 379.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.005387, allocations: 130.9 kB / 379.5 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.005436, allocations: 35.69 kB / 379.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.005488, allocations: 27.36 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002824/0.00577, allocations: 0.4884 MB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.005814, allocations: 19.98 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.005849, allocations: 16 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.00595, allocations: 55.73 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005952, allocations: 4 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001627/0.006115, allocations: 86.25 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.00613, allocations: 5.875 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006134, allocations: 0 / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.006148, allocations: 0 / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.00626, allocations: 19.94 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.006268, allocations: 3.984 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.006301, allocations: 15.77 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.00631, allocations: 4 kB / 380.3 MB, free: 15.75 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 0.000118/0.006428, allocations: 156.6 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.006444, allocations: 8 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.006657, allocations: 105.6 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006659, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.006662, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.006668, allocations: 3.938 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.006816, allocations: 136.6 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006817, allocations: 0 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.006887, allocations: 12 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006889, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.006903, allocations: 7.984 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.006905, allocations: 4 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006906, allocations: 3.938 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.007102, allocations: 120.4 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.007115, allocations: 11.89 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.007133, allocations: 7.984 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.561e-05/0.007159, allocations: 3.938 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.007182, allocations: 4 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007187, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.007264, allocations: 131.2 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007264, allocations: 0 / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.007463, allocations: 16.03 kB / 381 MB, free: 14.96 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.0001695/0.007632, allocations: 111.2 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.00779, allocations: 63.59 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.007795, allocations: 4 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.007856, allocations: 39.61 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.008, allocations: 4 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.00838, allocations: 146.3 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.008449, allocations: 67.25 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.008482, allocations: 8 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.008512, allocations: 12.5 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008513, allocations: 3.938 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of Templates: time 0.003498/0.01201, allocations: 0.6508 MB / 382.1 MB, free: 13.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.844233255949803]