Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00086/0.00086, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004025/0.004025, allocations: 165.1 kB / 24.7 MB, free: 8.898 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.8788/0.8788, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.605e-05, allocations: 3.828 kB / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0009632/0.0009893, allocations: 0.5283 MB / 441.4 MB, free: 3.215 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005196/0.001509, allocations: 374.8 kB / 441.7 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.001532, allocations: 0 / 441.7 MB, free: 2.844 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.00155, allocations: 3.938 kB / 441.7 MB, free: 2.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.095e-05/0.001571, allocations: 0 / 441.7 MB, free: 2.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.001951, allocations: 139.5 kB / 441.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.002008, allocations: 35.91 kB / 441.9 MB, free: 2.668 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.002048, allocations: 4 kB / 441.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.002082, allocations: 19.97 kB / 441.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.002128, allocations: 19.91 kB / 441.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.002139, allocations: 0 / 441.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.002309, allocations: 131.8 kB / 442.1 MB, free: 2.496 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.002325, allocations: 19.91 kB / 442.1 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.002342, allocations: 4 kB / 442.1 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.002516, allocations: 155.6 kB / 442.3 MB, free: 2.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002518, allocations: 0 / 442.3 MB, free: 2.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002518, allocations: 0 / 442.3 MB, free: 2.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.002523, allocations: 4 kB / 442.3 MB, free: 2.316 MB / 410.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.0002972/0.00282, allocations: 294 kB / 442.5 MB, free: 2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.002854, allocations: 8.031 kB / 442.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.002884, allocations: 8.891 kB / 442.6 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.002959, allocations: 101.8 kB / 442.7 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.00297, allocations: 8.375 kB / 442.7 MB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.002992, allocations: 4.375 kB / 442.7 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.003095, allocations: 74.09 kB / 442.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.003105, allocations: 4.188 kB / 442.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.003114, allocations: 4.359 kB / 442.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.00312, allocations: 8.125 kB / 442.8 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.003187, allocations: 47.95 kB / 442.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.003563, allocations: 117.2 kB / 442.9 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.944e-05/0.003663, allocations: 78.55 kB / 443 MB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.003697, allocations: 28.84 kB / 443 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.003864, allocations: 23.91 kB / 443 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.003883, allocations: 38.56 kB / 443.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.003884, allocations: 0 / 443.1 MB, free: 1.375 MB / 410.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.2167/0.2206, allocations: 5.625 MB / 448.7 MB, free: 46.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2206, allocations: 54.28 kB / 448.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.2206, allocations: 94.66 kB / 448.9 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2207, allocations: 28.2 kB / 448.9 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.02e-05/0.2207, allocations: 83.7 kB / 449 MB, free: 45.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.2207, allocations: 82.98 kB / 449 MB, free: 45.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.2208, allocations: 60.75 kB / 449.1 MB, free: 45.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.664e-05/0.2208, allocations: 320.3 kB / 449.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.221, allocations: 111.7 kB / 449.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.2212, allocations: 114.4 kB / 449.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/0.2219, allocations: 327.2 kB / 450 MB, free: 45.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2219, allocations: 3.75 kB / 450 MB, free: 45.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005789/0.2224, allocations: 358.1 kB / 450.3 MB, free: 45.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2225, allocations: 2.781 kB / 450.3 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2225, allocations: 2.906 kB / 450.3 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2225, allocations: 0 / 450.3 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2227, allocations: 80.94 kB / 450.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2227, allocations: 6.297 kB / 450.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.2228, allocations: 21.98 kB / 450.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2228, allocations: 21.84 kB / 450.4 MB, free: 45.33 MB / 410.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.763e-05/0.2228, allocations: 118.4 kB / 450.6 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.2229, allocations: 9.641 kB / 450.6 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.2236, allocations: 432.9 kB / 451 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2236, allocations: 2.938 kB / 451 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2236, allocations: 6.906 kB / 451 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2236, allocations: 0 / 451 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.2246, allocations: 0.6967 MB / 451.7 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2247, allocations: 10.62 kB / 451.7 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.2248, allocations: 70.75 kB / 451.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2248, allocations: 3.062 kB / 451.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2248, allocations: 17.69 kB / 451.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.2248, allocations: 3.125 kB / 451.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2248, allocations: 0 / 451.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.2253, allocations: 429 kB / 452.2 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.2254, allocations: 7.078 kB / 452.2 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2254, allocations: 15 kB / 452.2 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.2255, allocations: 30.58 kB / 452.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.2255, allocations: 15.19 kB / 452.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.2255, allocations: 12.91 kB / 452.3 MB, free: 44.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.336e-05/0.2255, allocations: 82.34 kB / 452.4 MB, free: 44.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2255, allocations: 0 / 452.4 MB, free: 44.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001035/0.2265, allocations: 0.6248 MB / 453 MB, free: 44.43 MB / 410.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.002027/0.2286, allocations: 323.1 kB / 453.3 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.229, allocations: 253.1 kB / 453.6 MB, free: 44.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.229, allocations: 0 / 453.6 MB, free: 44.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.2292, allocations: 129.1 kB / 453.7 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.2293, allocations: 15.94 kB / 453.7 MB, free: 44.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.2298, allocations: 360.8 kB / 454.1 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.2299, allocations: 79.64 kB / 454.1 MB, free: 43.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.23, allocations: 50.39 kB / 454.2 MB, free: 43.93 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.23, allocations: 0 / 454.2 MB, free: 43.93 MB / 410.7 MB Notification: Performance of Templates: time 0.01598/0.246, allocations: 14.2 MB / 468.4 MB, free: 42.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.994502203539014]