Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.004751/0.004751, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001256/0.001256, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8598/0.8598, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1279/0.1279, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.556e-05, allocations: 4.281 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.000931/0.0009466, allocations: 0.551 MB / 348.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004981/0.001445, allocations: 378.8 kB / 349 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.001476, allocations: 0 / 349 MB, free: 8.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.001495, allocations: 3.938 kB / 349 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.001519, allocations: 0 / 349 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.001897, allocations: 147.4 kB / 349.2 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.00194, allocations: 27.97 kB / 349.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.001972, allocations: 4 kB / 349.2 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.002007, allocations: 23.91 kB / 349.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.002054, allocations: 11.98 kB / 349.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.002065, allocations: 4 kB / 349.2 MB, free: 8.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.002219, allocations: 143.7 kB / 349.4 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.002231, allocations: 7.984 kB / 349.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.002244, allocations: 8 kB / 349.4 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.00238, allocations: 155.5 kB / 349.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.002382, allocations: 0 / 349.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002383, allocations: 0 / 349.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.002386, allocations: 4 kB / 349.6 MB, free: 7.73 MB / 282.7 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.0002269/0.002613, allocations: 392.2 kB / 349.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.002645, allocations: 12.03 kB / 350 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.002671, allocations: 8.938 kB / 350 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.162e-05/0.002723, allocations: 112.6 kB / 350.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.002732, allocations: 384 / 350.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.002749, allocations: 12.33 kB / 350.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.213e-05/0.002821, allocations: 62.17 kB / 350.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.002829, allocations: 192 / 350.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.002835, allocations: 384 / 350.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.002841, allocations: 8.125 kB / 350.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.647e-05/0.002878, allocations: 39.88 kB / 350.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.371e-05/0.002961, allocations: 117.2 kB / 350.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/0.003022, allocations: 79 kB / 350.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.003041, allocations: 26.42 kB / 350.4 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.003173, allocations: 27.97 kB / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.003187, allocations: 53.31 kB / 350.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 8.11e-07/0.003188, allocations: 0 / 350.5 MB, free: 6.684 MB / 282.7 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.05887/0.06205, allocations: 5.365 MB / 355.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.06207, allocations: 51.41 kB / 355.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.116e-05/0.06211, allocations: 153.9 kB / 356.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.06213, allocations: 29.83 kB / 356.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/0.06214, allocations: 131.2 kB / 356.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.06219, allocations: 83.25 kB / 356.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.06227, allocations: 71.31 kB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.06231, allocations: 0.4884 MB / 356.9 MB, free: 220 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.06238, allocations: 51.95 kB / 356.9 MB, free: 168 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.06245, allocations: 53.17 kB / 357 MB, free: 116 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.06303, allocations: 191.9 kB / 357.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.06303, allocations: 0 / 357.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004955/0.06353, allocations: 237.3 kB / 357.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.06354, allocations: 4 kB / 357.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.06355, allocations: 4 kB / 357.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.06356, allocations: 4 kB / 357.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.06379, allocations: 79.86 kB / 357.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.0638, allocations: 0 / 357.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.06391, allocations: 31.95 kB / 357.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.06393, allocations: 15.98 kB / 357.5 MB, free: 15.55 MB / 298.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 (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 9.412e-05/0.06403, allocations: 172.5 kB / 357.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.06407, allocations: 19.89 kB / 357.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.0647, allocations: 298 kB / 358 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.0647, allocations: 4 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.0647, allocations: 0 / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.06471, allocations: 3.984 kB / 358 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.0658, allocations: 0.6335 MB / 358.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.06581, allocations: 0 / 358.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.06598, allocations: 83.92 kB / 358.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.06599, allocations: 0 / 358.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.06601, allocations: 15.98 kB / 358.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.06601, allocations: 4 kB / 358.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.06601, allocations: 0 / 358.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.06651, allocations: 379.1 kB / 359.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.06652, allocations: 7.953 kB / 359.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.06654, allocations: 7.938 kB / 359.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.06667, allocations: 31.95 kB / 359.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.0667, allocations: 19.92 kB / 359.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.06672, allocations: 11.98 kB / 359.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.426e-05/0.06675, allocations: 119.2 kB / 359.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06675, allocations: 0 / 359.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001263/0.06801, allocations: 0.6324 MB / 359.9 MB, free: 13.04 MB / 298.7 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.002336/0.07035, allocations: 318.5 kB / 360.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.07061, allocations: 147.7 kB / 360.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.07061, allocations: 96 / 360.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.07071, allocations: 87.5 kB / 360.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.07096, allocations: 35.86 kB / 360.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.07149, allocations: 294.1 kB / 360.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.07154, allocations: 67.84 kB / 360.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.07174, allocations: 81.27 kB / 360.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.07191, allocations: 106.2 kB / 361 MB, free: 11.84 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.07191, allocations: 0 / 361 MB, free: 11.84 MB / 298.7 MB Notification: Performance of Templates: time 0.06626/0.1382, allocations: 59.67 MB / 420.7 MB, free: 0 / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",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.654941192828119]