Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001317/0.001317, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001417/0.001417, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.479/1.479, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2305/0.2305, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 67.89 kB / 0.4921 GB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1388, allocations: 66 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001936/0.1407, allocations: 0.4989 MB / 0.557 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003559/0.1411, allocations: 92.36 kB / 0.5571 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1411, allocations: 0 / 0.5571 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1411, allocations: 4 kB / 0.5571 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.644e-05/0.1411, allocations: 0 / 0.5571 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1414, allocations: 15.91 kB / 0.5571 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.1414, allocations: 11.98 kB / 0.5571 GB, free: 4.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1415, allocations: 4 kB / 0.5571 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.1415, allocations: 11.92 kB / 0.5571 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.1416, allocations: 4 kB / 0.5571 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1416, allocations: 0 / 0.5571 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.543e-05/0.1417, allocations: 39.89 kB / 0.5572 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.1417, allocations: 3.938 kB / 0.5572 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.1417, allocations: 4 kB / 0.5572 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1418, allocations: 31.89 kB / 0.5572 GB, free: 4.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1418, allocations: 0 / 0.5572 GB, free: 4.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1418, allocations: 0 / 0.5572 GB, free: 4.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1418, allocations: 0 / 0.5572 GB, free: 4.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004777/0.1423, allocations: 335.4 kB / 0.5575 GB, free: 4.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1423, allocations: 8.031 kB / 0.5575 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.1424, allocations: 0.9375 kB / 0.5575 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1425, allocations: 168.3 kB / 0.5577 GB, free: 4.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1426, allocations: 4.375 kB / 0.5577 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1426, allocations: 4.375 kB / 0.5577 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1427, allocations: 51.97 kB / 0.5578 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1427, allocations: 192 / 0.5578 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1427, allocations: 3.938 kB / 0.5578 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1427, allocations: 4 kB / 0.5578 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/0.1428, allocations: 15.92 kB / 0.5578 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.1432, allocations: 317.1 kB / 0.5581 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.1432, allocations: 34.55 kB / 0.5581 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.1433, allocations: 16.86 kB / 0.5581 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1433, allocations: 0 / 0.5581 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1433, allocations: 30.56 kB / 0.5582 GB, free: 3.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1433, allocations: 0 / 0.5582 GB, free: 3.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002163/0.1435, allocations: 65.67 kB / 0.5582 GB, free: 3.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.1436, allocations: 51.41 kB / 0.5583 GB, free: 3.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.1437, allocations: 101.8 kB / 0.5584 GB, free: 3.215 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1437, allocations: 25.7 kB / 0.5584 GB, free: 3.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.1437, allocations: 80.14 kB / 0.5585 GB, free: 3.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.1438, allocations: 19.84 kB / 0.5585 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1438, allocations: 17.72 kB / 0.5585 GB, free: 3.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.144, allocations: 319 kB / 0.5588 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.144, allocations: 8 kB / 0.5588 GB, free: 2.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.144, allocations: 21.72 kB / 0.5588 GB, free: 2.703 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.1441, allocations: 33.64 kB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1441, allocations: 0 / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.1442, allocations: 57.56 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1442, allocations: 8 kB / 0.5589 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1442, allocations: 4.031 kB / 0.5589 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1442, allocations: 0 / 0.5589 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.1443, allocations: 8 kB / 0.5589 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1443, allocations: 0 / 0.5589 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.1443, allocations: 7.891 kB / 0.559 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1444, allocations: 4 kB / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.02e-05/0.1444, allocations: 116 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.1445, allocations: 4 kB / 0.5591 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.1446, allocations: 65.34 kB / 0.5591 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1446, allocations: 8 kB / 0.5591 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1446, allocations: 3.984 kB / 0.5591 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1446, allocations: 0 / 0.5591 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1448, allocations: 157.6 kB / 0.5593 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1448, allocations: 0 / 0.5593 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.1449, allocations: 8 kB / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1449, allocations: 0 / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1449, allocations: 0 / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1449, allocations: 0 / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1449, allocations: 0 / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.145, allocations: 163.6 kB / 0.5595 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1451, allocations: 85.06 kB / 0.5595 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1451, allocations: 3.984 kB / 0.5595 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.1452, allocations: 0 / 0.5595 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.1452, allocations: 7.938 kB / 0.5596 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1452, allocations: 0 / 0.5596 GB, free: 1.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.457e-05/0.1452, allocations: 79.28 kB / 0.5596 GB, free: 1.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1452, allocations: 0 / 0.5596 GB, free: 1.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1455, allocations: 16.03 kB / 0.5596 GB, free: 1.77 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 (5): * Single equations (assignments): 5 * 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.0001496/0.1456, allocations: 103.2 kB / 0.5597 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1458, allocations: 20 kB / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1458, allocations: 3.938 kB / 0.5598 GB, free: 1.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.1458, allocations: 15.98 kB / 0.5598 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.146, allocations: 3.938 kB / 0.5598 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.1463, allocations: 134.7 kB / 0.5599 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1466, allocations: 0.6768 MB / 0.5606 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.1466, allocations: 15.42 kB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1466, allocations: 0 / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of Templates: time 0.002198/0.1488, allocations: 0.5677 MB / 0.5611 GB, free: 168 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.256997229007538]