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.001754/0.001754, allocations: 120 kB / 18.46 MB, free: 4.617 MB / 14.72 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.002182/0.002182, allocations: 212.3 kB / 21.42 MB, free: 1.664 MB / 14.72 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.622/1.622, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 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.2382/0.2382, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 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 0.001908/0.001908, allocations: 59.91 kB / 0.4921 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1391, allocations: 66 MB / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001959/0.1411, allocations: 0.5262 MB / 0.557 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.1416, allocations: 160 kB / 0.5572 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.1416, allocations: 0 / 0.5572 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.1416, allocations: 3.938 kB / 0.5572 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.1419, allocations: 43.83 kB / 0.5572 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.529e-06/0.142, allocations: 0 / 0.5572 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.142, allocations: 19.92 kB / 0.5572 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.1421, allocations: 4 kB / 0.5572 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.1421, allocations: 15.92 kB / 0.5573 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.1422, allocations: 15.91 kB / 0.5573 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1422, allocations: 7.938 kB / 0.5573 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1423, allocations: 47.95 kB / 0.5573 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1424, allocations: 3.938 kB / 0.5573 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1424, allocations: 15.86 kB / 0.5573 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1425, allocations: 39.83 kB / 0.5574 GB, free: 4.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1425, allocations: 0 / 0.5574 GB, free: 4.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1425, allocations: 4 kB / 0.5574 GB, free: 4.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1425, allocations: 0 / 0.5574 GB, free: 4.457 MB / 414.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.0004353/0.143, allocations: 343.3 kB / 0.5577 GB, free: 4.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.143, allocations: 12.03 kB / 0.5577 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1431, allocations: 0.9375 kB / 0.5577 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1432, allocations: 164.4 kB / 0.5579 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1433, allocations: 8.312 kB / 0.5579 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1433, allocations: 4.375 kB / 0.5579 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1434, allocations: 54.23 kB / 0.5579 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1435, allocations: 4.188 kB / 0.5579 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1435, allocations: 7.938 kB / 0.558 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1435, allocations: 4 kB / 0.558 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1436, allocations: 47.95 kB / 0.558 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.1438, allocations: 177.6 kB / 0.5582 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.144, allocations: 70.55 kB / 0.5582 GB, free: 3.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.1441, allocations: 28.84 kB / 0.5583 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.1445, allocations: 251.3 kB / 0.5585 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1445, allocations: 42.55 kB / 0.5585 GB, free: 3.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1445, allocations: 0 / 0.5585 GB, free: 3.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002759/0.1448, allocations: 106.1 kB / 0.5586 GB, free: 2.934 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1448, allocations: 51.41 kB / 0.5587 GB, free: 2.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.1449, allocations: 97.95 kB / 0.5588 GB, free: 2.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1449, allocations: 33.62 kB / 0.5588 GB, free: 2.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.145, allocations: 80.14 kB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.145, allocations: 47.69 kB / 0.5589 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.145, allocations: 25.7 kB / 0.559 GB, free: 2.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1452, allocations: 318.8 kB / 0.5593 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.1452, allocations: 15.98 kB / 0.5593 GB, free: 2.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.1453, allocations: 16 kB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.1453, allocations: 52.84 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1453, allocations: 0 / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001324/0.1455, allocations: 89.58 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1455, allocations: 6.031 kB / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1455, allocations: 7.938 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1455, allocations: 0 / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1456, allocations: 23.92 kB / 0.5595 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1456, allocations: 0 / 0.5595 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.1457, allocations: 0 / 0.5595 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1457, allocations: 4 kB / 0.5595 GB, free: 2.027 MB / 414.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 8.733e-05/0.1458, allocations: 112 kB / 0.5596 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.1458, allocations: 7.953 kB / 0.5596 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.146, allocations: 109.7 kB / 0.5597 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.146, allocations: 4 kB / 0.5597 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.146, allocations: 0 / 0.5597 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.146, allocations: 3.984 kB / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1462, allocations: 165.7 kB / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1462, allocations: 0 / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.1462, allocations: 15.98 kB / 0.5599 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1462, allocations: 0 / 0.5599 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1462, allocations: 3.938 kB / 0.5599 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1462, allocations: 4 kB / 0.5599 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1462, allocations: 4 kB / 0.5599 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1464, allocations: 113 kB / 0.56 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.1465, allocations: 85.03 kB / 0.5601 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1465, allocations: 7.938 kB / 0.5601 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.529e-05/0.1465, allocations: 4 kB / 0.5601 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.1465, allocations: 4 kB / 0.5601 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.1465, allocations: 4 kB / 0.5601 GB, free: 1.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.1466, allocations: 87.2 kB / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1466, allocations: 0 / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.1468, allocations: 16 kB / 0.5602 GB, free: 1.191 MB / 414.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.0001793/0.147, allocations: 111.1 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1471, allocations: 55.91 kB / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1471, allocations: 0 / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.1471, allocations: 20 kB / 0.5604 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.1473, allocations: 8.562 kB / 0.5604 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.1477, allocations: 166.7 kB / 0.5605 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.148, allocations: 0.6845 MB / 0.5612 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.148, allocations: 15.44 kB / 0.5612 GB, free: 72 kB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.148, allocations: 0 / 0.5612 GB, free: 72 kB / 414.1 MB Notification: Performance of Templates: time 0.002684/0.1507, allocations: 0.8178 MB / 0.562 GB, free: 15.25 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/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: 7.429585142992437]