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.001392/0.001392, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.004258/0.004258, allocations: 162.6 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9777/0.9777, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2327/0.2327, allocations: 34.25 MB / 296 MB, free: 0.7812 MB / 266.7 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.212e-06/1.212e-06, allocations: 0 / 378 MB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.722e-05, allocations: 5.688 kB / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009424/0.0009596, allocations: 0.5438 MB / 378.5 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005742/0.001534, allocations: 386.8 kB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.001562, allocations: 0 / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.001581, allocations: 3.938 kB / 378.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.246e-05/0.001603, allocations: 4 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.002023, allocations: 147.4 kB / 379.1 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.002082, allocations: 23.98 kB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.002118, allocations: 7.984 kB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.002152, allocations: 19.92 kB / 379.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.002199, allocations: 15.97 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.002212, allocations: 0 / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.002382, allocations: 131.8 kB / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.002398, allocations: 19.92 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.002417, allocations: 11.97 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.002584, allocations: 147.6 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002586, allocations: 0 / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002586, allocations: 0 / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.00259, allocations: 0 / 379.4 MB, free: 1.559 MB / 346.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.0003035/0.002893, allocations: 396.3 kB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.002925, allocations: 15.95 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.002965, allocations: 8.938 kB / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.003044, allocations: 108.6 kB / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.003057, allocations: 8.375 kB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.003084, allocations: 12.33 kB / 380 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.003185, allocations: 54.23 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.003196, allocations: 192 / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.003207, allocations: 4.375 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.003219, allocations: 12.11 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.555e-05/0.003274, allocations: 39.91 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.003397, allocations: 132.5 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/0.003491, allocations: 89.78 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.003526, allocations: 31.66 kB / 380.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.003694, allocations: 31.97 kB / 380.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.003714, allocations: 41.33 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.003715, allocations: 0 / 380.4 MB, free: 480 kB / 346.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.05827/0.06199, allocations: 5.408 MB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.06202, allocations: 63.39 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.06224, allocations: 149.9 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.06226, allocations: 33.7 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.06229, allocations: 127.2 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.06235, allocations: 75.33 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.06243, allocations: 67.33 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.06253, allocations: 0.4884 MB / 386.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.06262, allocations: 63.95 kB / 386.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.06271, allocations: 59.91 kB / 386.9 MB, free: 9.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.06323, allocations: 217.9 kB / 387.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.06323, allocations: 8.062 kB / 387.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004383/0.06367, allocations: 253.4 kB / 387.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.06369, allocations: 8 kB / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.06369, allocations: 0 / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.06371, allocations: 0 / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.06391, allocations: 83.84 kB / 387.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.06392, allocations: 7.938 kB / 387.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.06401, allocations: 27.97 kB / 387.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.06403, allocations: 15.98 kB / 387.5 MB, free: 9.227 MB / 362.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 8.909e-05/0.06412, allocations: 176.4 kB / 387.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.06415, allocations: 15.95 kB / 387.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.0647, allocations: 324.9 kB / 388 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0647, allocations: 0 / 388 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.0647, allocations: 0 / 388 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.0647, allocations: 0 / 388 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.06568, allocations: 0.6711 MB / 388.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.06568, allocations: 4.062 kB / 388.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.06582, allocations: 83.86 kB / 388.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.06582, allocations: 0 / 388.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.06584, allocations: 11.98 kB / 388.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.06584, allocations: 4 kB / 388.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.06584, allocations: 3.938 kB / 388.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.06628, allocations: 383 kB / 389.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.06629, allocations: 7.953 kB / 389.2 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.06631, allocations: 8 kB / 389.2 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.0664, allocations: 35.91 kB / 389.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.06642, allocations: 11.97 kB / 389.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.06644, allocations: 19.98 kB / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.06646, allocations: 119.2 kB / 389.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06646, allocations: 0 / 389.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001275/0.06774, allocations: 0.6284 MB / 390 MB, free: 6.652 MB / 362.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.002082/0.06982, allocations: 334.5 kB / 390.3 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.07008, allocations: 174.4 kB / 390.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.07009, allocations: 0 / 390.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.07018, allocations: 91.5 kB / 390.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.07036, allocations: 31.92 kB / 390.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.07082, allocations: 306.2 kB / 390.9 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.07086, allocations: 63.86 kB / 391 MB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000154/0.07101, allocations: 81.14 kB / 391.1 MB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.0711, allocations: 44.45 kB / 391.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.0711, allocations: 0 / 391.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of Templates: time 0.2303/0.3014, allocations: 55.29 MB / 446.4 MB, free: 106.2 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6279916260391474]