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.001957/0.001957, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.002418/0.002418, allocations: 167.8 kB / 23.76 MB, free: 4.195 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.407/1.407, allocations: 158.6 MB / 185.5 MB, free: 6.137 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.2083/0.2083, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 67.91 kB / 407.7 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1216, allocations: 61.04 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001898/0.1235, allocations: 0.5339 MB / 469.3 MB, free: 7.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.1243, allocations: 384.7 kB / 469.7 MB, free: 7.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.1244, allocations: 0 / 469.7 MB, free: 7.398 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.1244, allocations: 3.938 kB / 469.7 MB, free: 7.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.1244, allocations: 4 kB / 469.7 MB, free: 7.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.125, allocations: 139.6 kB / 469.8 MB, free: 7.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.1251, allocations: 27.92 kB / 469.9 MB, free: 7.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1251, allocations: 4 kB / 469.9 MB, free: 7.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.1252, allocations: 15.92 kB / 469.9 MB, free: 7.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.1252, allocations: 19.91 kB / 469.9 MB, free: 7.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1252, allocations: 4 kB / 469.9 MB, free: 7.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.1255, allocations: 127.9 kB / 470 MB, free: 7.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.1255, allocations: 23.91 kB / 470.1 MB, free: 7.035 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1255, allocations: 11.94 kB / 470.1 MB, free: 7.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1258, allocations: 119.6 kB / 470.2 MB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1258, allocations: 0 / 470.2 MB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1258, allocations: 0 / 470.2 MB, free: 6.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1258, allocations: 0 / 470.2 MB, free: 6.906 MB / 446.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.0005301/0.1264, allocations: 305.9 kB / 470.5 MB, free: 6.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1264, allocations: 15.97 kB / 470.5 MB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.1264, allocations: 4.891 kB / 470.5 MB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1266, allocations: 106.5 kB / 470.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1266, allocations: 8.375 kB / 470.6 MB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.1266, allocations: 8.375 kB / 470.6 MB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1268, allocations: 58.23 kB / 470.7 MB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1268, allocations: 11.89 kB / 470.7 MB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1268, allocations: 3.984 kB / 470.7 MB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1268, allocations: 4 kB / 470.7 MB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.312e-05/0.1269, allocations: 39.91 kB / 470.7 MB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.1271, allocations: 125.2 kB / 470.9 MB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1272, allocations: 82.48 kB / 470.9 MB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.1273, allocations: 24.84 kB / 471 MB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.1276, allocations: 27.97 kB / 471 MB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1276, allocations: 34.56 kB / 471 MB, free: 5.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1276, allocations: 3.938 kB / 471 MB, free: 5.949 MB / 446.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.1431/0.2707, allocations: 5.624 MB / 476.7 MB, free: 292 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.2708, allocations: 51.41 kB / 476.7 MB, free: 228 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.2709, allocations: 93.86 kB / 476.8 MB, free: 124 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.2709, allocations: 33.64 kB / 476.8 MB, free: 84 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2416/0.5125, allocations: 80.52 kB / 476.9 MB, free: 49.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.5126, allocations: 76.16 kB / 477 MB, free: 48.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.5127, allocations: 62.45 kB / 477 MB, free: 48.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.5128, allocations: 325.5 kB / 477.4 MB, free: 48.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.5132, allocations: 109.8 kB / 477.5 MB, free: 48.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.5135, allocations: 112.7 kB / 477.6 MB, free: 48.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.5149, allocations: 328.5 kB / 477.9 MB, free: 48.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5149, allocations: 0 / 477.9 MB, free: 48.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001106/0.516, allocations: 356.1 kB / 478.3 MB, free: 48.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.516, allocations: 6.188 kB / 478.3 MB, free: 48.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.516, allocations: 0 / 478.3 MB, free: 48.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.5161, allocations: 3.5 kB / 478.3 MB, free: 48.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.5164, allocations: 83.41 kB / 478.3 MB, free: 48.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5164, allocations: 0 / 478.3 MB, free: 48.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.5166, allocations: 27.12 kB / 478.4 MB, free: 48.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.5167, allocations: 12.66 kB / 478.4 MB, free: 48.6 MB / 446.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 7.978e-05/0.5167, allocations: 127.6 kB / 478.5 MB, free: 48.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.5168, allocations: 14.02 kB / 478.5 MB, free: 48.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.5181, allocations: 425.5 kB / 478.9 MB, free: 48.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5181, allocations: 7.062 kB / 478.9 MB, free: 48.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5181, allocations: 3.375 kB / 478.9 MB, free: 48.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.5181, allocations: 0 / 478.9 MB, free: 48.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.5201, allocations: 0.7018 MB / 479.6 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5201, allocations: 3.062 kB / 479.6 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5203, allocations: 81.11 kB / 479.7 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5203, allocations: 3.969 kB / 479.7 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.5204, allocations: 15.64 kB / 479.7 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5204, allocations: 0 / 479.7 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5204, allocations: 0.5469 kB / 479.7 MB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5214, allocations: 432.3 kB / 480.2 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.5214, allocations: 7.234 kB / 480.2 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.5215, allocations: 6.688 kB / 480.2 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.5216, allocations: 26.11 kB / 480.2 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.5217, allocations: 18.09 kB / 480.2 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.5217, allocations: 16.45 kB / 480.2 MB, free: 48.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.726e-05/0.5217, allocations: 75.28 kB / 480.3 MB, free: 47.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5217, allocations: 3.25 kB / 480.3 MB, free: 47.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001417/0.5231, allocations: 0.6292 MB / 480.9 MB, free: 47.94 MB / 446.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.00273/0.5258, allocations: 299.6 kB / 481.2 MB, free: 47.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007411/0.5266, allocations: 257.1 kB / 481.5 MB, free: 47.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5266, allocations: 0 / 481.5 MB, free: 47.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.5269, allocations: 126.9 kB / 481.6 MB, free: 47.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.5272, allocations: 17.09 kB / 481.6 MB, free: 47.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.528, allocations: 325.4 kB / 482 MB, free: 47.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.5281, allocations: 85.88 kB / 482 MB, free: 47.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.5283, allocations: 80.16 kB / 482.1 MB, free: 47.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.5284, allocations: 46.75 kB / 482.2 MB, free: 47.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5284, allocations: 0 / 482.2 MB, free: 47.59 MB / 446.1 MB Notification: Performance of Templates: time 0.06865/0.597, allocations: 54.06 MB / 0.5236 GB, free: 23.78 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/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: 5.7774716099957]