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.001353/0.001353, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001528/0.001528, allocations: 209.3 kB / 23.74 MB, free: 4.445 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.424/1.424, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.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.2207/0.2207, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.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: 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.002722/0.002722, allocations: 69 kB / 468.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1347, allocations: 61.05 MB / 0.5174 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002414/0.1372, allocations: 0.5338 MB / 0.5179 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.1381, allocations: 376.6 kB / 0.5182 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.1381, allocations: 3.938 kB / 0.5183 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.1382, allocations: 3.938 kB / 0.5183 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.302e-05/0.1382, allocations: 0 / 0.5183 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.1388, allocations: 151.5 kB / 0.5184 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.1389, allocations: 31.92 kB / 0.5184 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.139, allocations: 4 kB / 0.5184 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.139, allocations: 19.92 kB / 0.5185 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.1391, allocations: 15.91 kB / 0.5185 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1391, allocations: 4 kB / 0.5185 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.1394, allocations: 131.9 kB / 0.5186 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.1394, allocations: 15.91 kB / 0.5186 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1394, allocations: 11.94 kB / 0.5186 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1397, allocations: 123.6 kB / 0.5187 GB, free: 5.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1397, allocations: 0 / 0.5187 GB, free: 5.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1397, allocations: 4 kB / 0.5187 GB, free: 5.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1397, allocations: 4 kB / 0.5187 GB, free: 5.258 MB / 398.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.0004847/0.1402, allocations: 290 kB / 0.519 GB, free: 4.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1402, allocations: 15.95 kB / 0.519 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1403, allocations: 8.891 kB / 0.5191 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1404, allocations: 110.5 kB / 0.5192 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1404, allocations: 8.312 kB / 0.5192 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.1405, allocations: 8.375 kB / 0.5192 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1406, allocations: 58.23 kB / 0.5192 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1406, allocations: 11.89 kB / 0.5192 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1407, allocations: 0 / 0.5192 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1407, allocations: 4 kB / 0.5192 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1408, allocations: 47.89 kB / 0.5193 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.1409, allocations: 121.3 kB / 0.5194 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1411, allocations: 74.55 kB / 0.5195 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.1412, allocations: 28.84 kB / 0.5195 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.1414, allocations: 23.97 kB / 0.5195 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1414, allocations: 30.56 kB / 0.5196 GB, free: 4.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1414, allocations: 4 kB / 0.5196 GB, free: 4.32 MB / 398.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.1368/0.2782, allocations: 5.632 MB / 0.5251 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2783, allocations: 55.41 kB / 0.5251 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2784, allocations: 89.86 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.2784, allocations: 33.83 kB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.2785, allocations: 80.52 kB / 0.5253 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.2786, allocations: 83.27 kB / 0.5254 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.2788, allocations: 57.67 kB / 0.5254 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.279, allocations: 322.8 kB / 0.5257 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.2793, allocations: 111.9 kB / 0.5259 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.2797, allocations: 123.8 kB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.2812, allocations: 312.6 kB / 0.5263 GB, free: 13.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2812, allocations: 4 kB / 0.5263 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001229/0.2824, allocations: 361.6 kB / 0.5266 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2824, allocations: 7.938 kB / 0.5266 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2824, allocations: 0 / 0.5266 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.2825, allocations: 0 / 0.5266 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.2829, allocations: 83.91 kB / 0.5267 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2829, allocations: 0 / 0.5267 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.2831, allocations: 27.97 kB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.2831, allocations: 15.98 kB / 0.5267 GB, free: 12.86 MB / 414.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.0001379/0.2832, allocations: 125.7 kB / 0.5269 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.2833, allocations: 7.953 kB / 0.5269 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.2847, allocations: 429.8 kB / 0.5273 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.2848, allocations: 0 / 0.5273 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.2848, allocations: 3.984 kB / 0.5273 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2848, allocations: 4 kB / 0.5273 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.2871, allocations: 0.6983 MB / 0.528 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2871, allocations: 0 / 0.528 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2874, allocations: 75.92 kB / 0.528 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.2874, allocations: 7.938 kB / 0.5281 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.2874, allocations: 19.98 kB / 0.5281 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2874, allocations: 4 kB / 0.5281 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.2874, allocations: 7.938 kB / 0.5281 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2886, allocations: 420.8 kB / 0.5285 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.2886, allocations: 15.88 kB / 0.5285 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2887, allocations: 0 / 0.5285 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.2889, allocations: 27.97 kB / 0.5285 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2889, allocations: 15.97 kB / 0.5285 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2889, allocations: 15.98 kB / 0.5286 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.776e-05/0.289, allocations: 75.28 kB / 0.5286 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.289, allocations: 0 / 0.5286 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001774/0.2907, allocations: 0.6364 MB / 0.5293 GB, free: 10.2 MB / 414.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.003337/0.2941, allocations: 294.5 kB / 0.5295 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000876/0.295, allocations: 256.2 kB / 0.5298 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.295, allocations: 0 / 0.5298 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.2953, allocations: 123.8 kB / 0.5299 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.2956, allocations: 12 kB / 0.5299 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2967, allocations: 357.1 kB / 0.5302 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2968, allocations: 88.3 kB / 0.5303 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.2969, allocations: 51.39 kB / 0.5304 GB, free: 8.973 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2969, allocations: 0 / 0.5304 GB, free: 8.973 MB / 414.1 MB Notification: Performance of Templates: time 0.2707/0.5677, allocations: 14.18 MB / 0.5442 GB, free: 20.59 MB / 414.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 -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: 10.93383275764063]