Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001286/0.001286, allocations: 81.17 kB / 20.68 MB, free: 1.039 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.001645/0.001645, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.2138/0.2138, allocations: 34.27 MB / 295 MB, free: 14.58 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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 442.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.139e-05, allocations: 2.281 kB / 442.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001549/0.00158, allocations: 0.5511 MB / 443.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.002406, allocations: 374.8 kB / 443.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.002435, allocations: 4 kB / 443.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.002455, allocations: 3.938 kB / 443.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.204e-05/0.002477, allocations: 0 / 443.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.002996, allocations: 139.5 kB / 443.7 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.003062, allocations: 31.92 kB / 443.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.003108, allocations: 3.984 kB / 443.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.00315, allocations: 23.97 kB / 443.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.003199, allocations: 11.97 kB / 443.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.003212, allocations: 4 kB / 443.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.003465, allocations: 139.7 kB / 443.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.003493, allocations: 15.97 kB / 443.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.003516, allocations: 11.94 kB / 443.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.003774, allocations: 151.6 kB / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003777, allocations: 0 / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003777, allocations: 0 / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003782, allocations: 0 / 444.1 MB, free: 3.984 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004701/0.004252, allocations: 294 kB / 444.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.004287, allocations: 8.031 kB / 444.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.004327, allocations: 4.938 kB / 444.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.00445, allocations: 109.7 kB / 444.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.004469, allocations: 8.375 kB / 444.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.004495, allocations: 8.375 kB / 444.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.004646, allocations: 73.34 kB / 444.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.004666, allocations: 8.188 kB / 444.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004677, allocations: 384 / 444.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.004684, allocations: 4.125 kB / 444.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.004774, allocations: 39.95 kB / 444.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.004947, allocations: 117.3 kB / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.005102, allocations: 74.55 kB / 444.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.005157, allocations: 28.84 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.005392, allocations: 31.91 kB / 444.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.005431, allocations: 42.5 kB / 444.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.005432, allocations: 0 / 444.9 MB, free: 3.043 MB / 366.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.3238/0.3292, allocations: 5.61 MB / 450.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3292, allocations: 56.14 kB / 450.6 MB, free: 17.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.3293, allocations: 95.91 kB / 450.7 MB, free: 17.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3293, allocations: 31.17 kB / 450.7 MB, free: 17.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.192e-05/0.3293, allocations: 80.52 kB / 450.8 MB, free: 17.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.3294, allocations: 83.62 kB / 450.9 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.3295, allocations: 55.17 kB / 450.9 MB, free: 17.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.3295, allocations: 323.1 kB / 451.2 MB, free: 17.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.3299, allocations: 110 kB / 451.4 MB, free: 17.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.3303, allocations: 117.8 kB / 451.5 MB, free: 17.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.3317, allocations: 327.4 kB / 451.8 MB, free: 17.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3317, allocations: 3.75 kB / 451.8 MB, free: 17.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001225/0.3329, allocations: 353 kB / 452.1 MB, free: 17.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.333, allocations: 5.5 kB / 452.1 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.333, allocations: 1.375 kB / 452.1 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.333, allocations: 0.7031 kB / 452.1 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.3334, allocations: 86.42 kB / 452.2 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3334, allocations: 1.375 kB / 452.2 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.3336, allocations: 22.95 kB / 452.3 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.3336, allocations: 21.08 kB / 452.3 MB, free: 17.07 MB / 366.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 (23): * Single equations (assignments): 23 * 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.0001042/0.3337, allocations: 122.5 kB / 452.4 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.3338, allocations: 7.672 kB / 452.4 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.3353, allocations: 431.6 kB / 452.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3353, allocations: 3.156 kB / 452.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3353, allocations: 4.25 kB / 452.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3353, allocations: 3.016 kB / 452.8 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.3377, allocations: 0.7014 MB / 453.5 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3377, allocations: 0 / 453.5 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.338, allocations: 77.2 kB / 453.6 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.338, allocations: 3.156 kB / 453.6 MB, free: 16.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.338, allocations: 18.12 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.338, allocations: 3.562 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.338, allocations: 1.188 kB / 453.6 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3392, allocations: 420.2 kB / 454 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.3393, allocations: 12.88 kB / 454.1 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3393, allocations: 11.23 kB / 454.1 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.3395, allocations: 30.23 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.3395, allocations: 12.3 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.3395, allocations: 20.78 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.882e-05/0.3396, allocations: 77.23 kB / 454.2 MB, free: 16.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 1.25 kB / 454.2 MB, free: 16.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001743/0.3413, allocations: 0.6248 MB / 454.8 MB, free: 16.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.003293/0.3446, allocations: 321.8 kB / 455.1 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008921/0.3455, allocations: 262.6 kB / 455.4 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3455, allocations: 0 / 455.4 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.3459, allocations: 125.3 kB / 455.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3461, allocations: 13.42 kB / 455.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.3471, allocations: 338 kB / 455.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.3472, allocations: 79.38 kB / 455.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.3474, allocations: 81 kB / 456 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3476, allocations: 51.56 kB / 456.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3476, allocations: 1 kB / 456.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Templates: time 0.07217/0.4197, allocations: 54.06 MB / 0.4982 GB, free: 3.723 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.413781147450209]