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.001008/0.001008, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.00238, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001022/0.001022, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002281, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08659/1.134, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.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.2457/0.2457, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0229/0.2686, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.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.663e-06/1.663e-06, allocations: 0 / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.608e-05, allocations: 5.328 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009544/0.0009704, allocations: 0.5774 MB / 293.2 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004558/0.001426, allocations: 399.2 kB / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.001444, allocations: 0 / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-06/0.001449, allocations: 3.938 kB / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.001455, allocations: 0 / 293.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.001697, allocations: 119.4 kB / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.00175, allocations: 31.97 kB / 293.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.001791, allocations: 8 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.001841, allocations: 27.91 kB / 293.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.001891, allocations: 11.98 kB / 293.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.001901, allocations: 0 / 293.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.002118, allocations: 155.8 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.002131, allocations: 7.938 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.002144, allocations: 4 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.002308, allocations: 123.6 kB / 294.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.002323, allocations: 3.984 kB / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002324, allocations: 0 / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.002339, allocations: 0 / 294.1 MB, free: 4.84 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.0003447/0.002683, allocations: 289.5 kB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.002715, allocations: 12.62 kB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.002743, allocations: 4.938 kB / 294.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.002825, allocations: 109.7 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.002836, allocations: 384 / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.002859, allocations: 8.375 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.089e-05/0.00294, allocations: 54.22 kB / 294.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.002954, allocations: 4.188 kB / 294.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.002964, allocations: 4.375 kB / 294.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.002971, allocations: 4.125 kB / 294.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.00303, allocations: 37.34 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.695e-05/0.003127, allocations: 84.91 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.85e-05/0.003205, allocations: 62.53 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.003227, allocations: 16.86 kB / 294.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.003399, allocations: 31.97 kB / 294.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.003422, allocations: 34.56 kB / 294.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.003423, allocations: 0 / 294.8 MB, free: 4.012 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.03423/0.03765, allocations: 4.471 MB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.03769, allocations: 59.41 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.03774, allocations: 106.7 kB / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.03775, allocations: 29.83 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.03778, allocations: 80.52 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.03783, allocations: 79.27 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.03789, allocations: 49.66 kB / 299.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.03797, allocations: 318.8 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.03802, allocations: 39.97 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.03807, allocations: 35.92 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.03819, allocations: 115.7 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.03819, allocations: 0 / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001551/0.03834, allocations: 145.4 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.03836, allocations: 4 kB / 300.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.03836, allocations: 4 kB / 300.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.03837, allocations: 7.984 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.03859, allocations: 91.81 kB / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.03859, allocations: 0 / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.03867, allocations: 23.97 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.03869, allocations: 15.97 kB / 300.5 MB, free: 14.28 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 6.723e-05/0.03876, allocations: 121.8 kB / 300.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.03878, allocations: 19.92 kB / 300.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.03904, allocations: 180.7 kB / 300.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.03904, allocations: 4 kB / 300.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.03904, allocations: 0 / 300.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.03905, allocations: 7.969 kB / 300.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.03968, allocations: 477.4 kB / 301.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.03969, allocations: 0 / 301.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.03984, allocations: 83.91 kB / 301.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.03984, allocations: 7.953 kB / 301.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.03985, allocations: 4 kB / 301.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.03986, allocations: 7.984 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.03986, allocations: 4 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.03987, allocations: 0 / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.04003, allocations: 228.9 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.04004, allocations: 4 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.04013, allocations: 35.95 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.04015, allocations: 15.98 kB / 301.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.04016, allocations: 7.984 kB / 301.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.006e-06/0.04017, allocations: 4.859 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04017, allocations: 4 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007675/0.04094, allocations: 483.6 kB / 302.1 MB, free: 12.54 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.001378/0.04231, allocations: 295.7 kB / 302.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.04249, allocations: 123.2 kB / 302.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.0425, allocations: 4 kB / 302.5 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.04256, allocations: 71.83 kB / 302.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.04269, allocations: 31.97 kB / 302.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.04309, allocations: 275.1 kB / 302.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.04313, allocations: 67.84 kB / 303 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.04324, allocations: 53.27 kB / 303 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.04336, allocations: 79.33 kB / 303.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04336, allocations: 0 / 303.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Templates: time 0.04152/0.08487, allocations: 43.56 MB / 346.7 MB, free: 15.95 MB / 346.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 -ignoreHideResult -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: 5.661723406985402]