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.001872/0.001872, allocations: 75.05 kB / 19.93 MB, free: 1.781 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.002251/0.002251, allocations: 165.6 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.423/1.423, allocations: 158.6 MB / 185 MB, free: 6.422 MB / 174.1 MB " [Timeout remaining time 178] 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.216/0.216, allocations: 32.37 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] 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.743e-06/1.743e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.104e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00178/0.001811, allocations: 0.53 MB / 407.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.002732, allocations: 388.6 kB / 408.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.002773, allocations: 0 / 408.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.00279, allocations: 3.938 kB / 408.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.002829, allocations: 0 / 408.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.003415, allocations: 150.8 kB / 408.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.156e-05/0.003486, allocations: 27.98 kB / 408.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.003531, allocations: 0 / 408.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.003575, allocations: 27.91 kB / 408.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.003634, allocations: 15.97 kB / 408.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.003649, allocations: 0 / 408.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.003929, allocations: 131.8 kB / 408.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.003951, allocations: 15.92 kB / 408.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.003974, allocations: 4 kB / 408.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.004264, allocations: 155.6 kB / 408.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.004268, allocations: 4 kB / 408.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004269, allocations: 0 / 408.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.004274, allocations: 0 / 408.8 MB, free: 1.598 MB / 334.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.0004848/0.004759, allocations: 294 kB / 409.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.004804, allocations: 8.031 kB / 409.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.004844, allocations: 8.891 kB / 409.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.004969, allocations: 113.7 kB / 409.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.004993, allocations: 8.375 kB / 409.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.00503, allocations: 4.375 kB / 409.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.005194, allocations: 58.23 kB / 409.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.005216, allocations: 12.19 kB / 409.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.005229, allocations: 384 / 409.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.005237, allocations: 4.125 kB / 409.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.005343, allocations: 43.89 kB / 409.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.005544, allocations: 125.2 kB / 409.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.005719, allocations: 90.59 kB / 409.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.005775, allocations: 20.86 kB / 409.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.006047, allocations: 27.95 kB / 409.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.006086, allocations: 38.56 kB / 409.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.006088, allocations: 4 kB / 409.6 MB, free: 0.6445 MB / 334.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.1449/0.151, allocations: 5.62 MB / 415.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.151, allocations: 55.41 kB / 415.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.1511, allocations: 97.8 kB / 415.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.1512, allocations: 29.7 kB / 415.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1512, allocations: 84.52 kB / 415.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.539e-05/0.1513, allocations: 79.33 kB / 415.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.1514, allocations: 57.67 kB / 415.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.1516, allocations: 322.8 kB / 416 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.152, allocations: 112 kB / 416.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.1524, allocations: 118.3 kB / 416.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.1539, allocations: 325 kB / 416.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1539, allocations: 3.938 kB / 416.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001292/0.1552, allocations: 361.1 kB / 416.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1552, allocations: 4 kB / 416.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1552, allocations: 3.984 kB / 416.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1552, allocations: 4 kB / 416.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.1556, allocations: 75.86 kB / 416.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.1557, allocations: 4 kB / 416.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1559, allocations: 31.95 kB / 417 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.1559, allocations: 15.98 kB / 417 MB, free: 9.188 MB / 350.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.0001554/0.1561, allocations: 125.7 kB / 417.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.1561, allocations: 7.953 kB / 417.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.1576, allocations: 426 kB / 417.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1576, allocations: 4 kB / 417.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1576, allocations: 0 / 417.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1576, allocations: 0 / 417.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.1601, allocations: 0.702 MB / 418.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.1601, allocations: 4 kB / 418.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.1604, allocations: 71.94 kB / 418.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1604, allocations: 4 kB / 418.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.1605, allocations: 15.98 kB / 418.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1605, allocations: 4 kB / 418.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.1605, allocations: 7.875 kB / 418.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1618, allocations: 420.9 kB / 418.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.1618, allocations: 11.95 kB / 418.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.1618, allocations: 4 kB / 418.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.162, allocations: 27.91 kB / 418.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1621, allocations: 19.97 kB / 418.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.1621, allocations: 11.98 kB / 418.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.1622, allocations: 87.22 kB / 418.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1622, allocations: 0 / 418.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001769/0.1639, allocations: 0.6284 MB / 419.5 MB, free: 6.539 MB / 350.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.003443/0.1674, allocations: 318.5 kB / 419.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009223/0.1683, allocations: 260.2 kB / 420.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.1683, allocations: 0 / 420.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.1687, allocations: 127.8 kB / 420.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.169, allocations: 16.12 kB / 420.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1701, allocations: 331.2 kB / 420.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.307e-05/0.1702, allocations: 84.11 kB / 420.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.1704, allocations: 77.14 kB / 420.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1706, allocations: 52.45 kB / 420.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1706, allocations: 0 / 420.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of Templates: time 0.3197/0.4902, allocations: 54.02 MB / 474.8 MB, free: 75.2 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.053230129182339]