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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 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.2127/0.2127, allocations: 44.9 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002009/0.002009, allocations: 71.88 kB / 497.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001834/0.3452, allocations: 0.5449 MB / 0.5493 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004887/0.3457, allocations: 162.9 kB / 0.5495 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.3458, allocations: 0 / 0.5495 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.3458, allocations: 3.938 kB / 0.5495 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3461, allocations: 37.45 kB / 0.5495 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.3461, allocations: 0 / 0.5495 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.3461, allocations: 29.95 kB / 0.5496 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3462, allocations: 1.75 kB / 0.5496 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.3462, allocations: 15.95 kB / 0.5496 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.3463, allocations: 14.67 kB / 0.5496 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3463, allocations: 1.531 kB / 0.5496 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3464, allocations: 52.12 kB / 0.5496 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.3464, allocations: 5.5 kB / 0.5496 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.3464, allocations: 9.281 kB / 0.5497 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3466, allocations: 42.09 kB / 0.5497 GB, free: 12.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3466, allocations: 0 / 0.5497 GB, free: 12.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3466, allocations: 0 / 0.5497 GB, free: 12.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3466, allocations: 1.375 kB / 0.5497 GB, free: 12.49 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.0003387/0.3469, allocations: 269.3 kB / 0.55 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.347, allocations: 8.688 kB / 0.55 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.347, allocations: 10.61 kB / 0.55 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3471, allocations: 113.7 kB / 0.5501 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3471, allocations: 1.625 kB / 0.5501 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3471, allocations: 3.688 kB / 0.5501 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3473, allocations: 55.94 kB / 0.5501 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3473, allocations: 5.641 kB / 0.5501 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3473, allocations: 3.938 kB / 0.5502 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3473, allocations: 5.625 kB / 0.5502 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3474, allocations: 57.25 kB / 0.5502 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.3476, allocations: 142.8 kB / 0.5503 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3478, allocations: 71.14 kB / 0.5504 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.3478, allocations: 25.7 kB / 0.5504 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.3481, allocations: 22.78 kB / 0.5505 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.3481, allocations: 40.09 kB / 0.5505 GB, free: 11.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3481, allocations: 3.938 kB / 0.5505 GB, free: 11.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002507/0.3484, allocations: 110.8 kB / 0.5506 GB, free: 11.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3484, allocations: 52.69 kB / 0.5507 GB, free: 11.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.3485, allocations: 95.02 kB / 0.5507 GB, free: 11.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3485, allocations: 25.7 kB / 0.5508 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.3485, allocations: 85.48 kB / 0.5509 GB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.3486, allocations: 39.56 kB / 0.5509 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.3486, allocations: 20.53 kB / 0.5509 GB, free: 11.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3488, allocations: 315.9 kB / 0.5512 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.3488, allocations: 18.22 kB / 0.5512 GB, free: 10.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.3489, allocations: 17.92 kB / 0.5512 GB, free: 10.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.166e-05/0.349, allocations: 45.77 kB / 0.5513 GB, free: 10.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.349, allocations: 0.8438 kB / 0.5513 GB, free: 10.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001371/0.3491, allocations: 83.09 kB / 0.5514 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3491, allocations: 9.641 kB / 0.5514 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3491, allocations: 7.938 kB / 0.5514 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3491, allocations: 1.031 kB / 0.5514 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3492, allocations: 17.84 kB / 0.5514 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3492, allocations: 4.031 kB / 0.5514 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.3493, allocations: 17.11 kB / 0.5514 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3493, allocations: 2.344 kB / 0.5514 GB, free: 10.84 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 0.0001074/0.3494, allocations: 120.1 kB / 0.5515 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.3494, allocations: 6.406 kB / 0.5516 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.3496, allocations: 103.6 kB / 0.5516 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3496, allocations: 1.5 kB / 0.5517 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3496, allocations: 0 / 0.5517 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3496, allocations: 0 / 0.5517 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.3498, allocations: 152.9 kB / 0.5518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3498, allocations: 0 / 0.5518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.3498, allocations: 13.72 kB / 0.5518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3498, allocations: 0 / 0.5518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3498, allocations: 5.094 kB / 0.5518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3498, allocations: 1.156 kB / 0.5518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3498, allocations: 4 kB / 0.5518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.35, allocations: 112 kB / 0.5519 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.35, allocations: 9.953 kB / 0.5519 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.35, allocations: 4.969 kB / 0.5519 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.622e-05/0.3501, allocations: 1.094 kB / 0.5519 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.3501, allocations: 14.17 kB / 0.552 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3501, allocations: 2 kB / 0.552 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.849e-05/0.3502, allocations: 80.41 kB / 0.552 GB, free: 10.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3502, allocations: 1.094 kB / 0.552 GB, free: 10.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.3504, allocations: 14.81 kB / 0.552 GB, free: 10.25 MB / 398.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.0001397/0.3505, allocations: 106.4 kB / 0.5521 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.3507, allocations: 55.95 kB / 0.5522 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3507, allocations: 0 / 0.5522 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.3507, allocations: 29.33 kB / 0.5522 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3509, allocations: 5.594 kB / 0.5522 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.3512, allocations: 143.3 kB / 0.5524 GB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3516, allocations: 0.6844 MB / 0.553 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.3516, allocations: 4.062 kB / 0.553 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.3516, allocations: 15.38 kB / 0.5531 GB, free: 9.266 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3516, allocations: 0 / 0.5531 GB, free: 9.266 MB / 398.1 MB Notification: Performance of Templates: time 0.003478/0.3551, allocations: 0.6899 MB / 0.5537 GB, free: 8.91 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] 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.060317336581647]