Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001832/0.001832, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.002205/0.002205, allocations: 204 kB / 23.74 MB, free: 4.543 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.667/1.667, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2372/0.2372, allocations: 44.27 MB / 331.1 MB, free: 9.301 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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [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.002273/0.002273, allocations: 75.89 kB / 468.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1316, allocations: 61.05 MB / 0.5174 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001795/0.1334, allocations: 0.5298 MB / 0.5179 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.1342, allocations: 380.6 kB / 0.5183 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.1343, allocations: 4 kB / 0.5183 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.1343, allocations: 3.938 kB / 0.5183 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.1343, allocations: 0 / 0.5183 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.1349, allocations: 139.5 kB / 0.5184 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.991e-05/0.1349, allocations: 23.98 kB / 0.5184 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.135, allocations: 4 kB / 0.5184 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.135, allocations: 23.92 kB / 0.5184 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.1351, allocations: 15.91 kB / 0.5185 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1351, allocations: 3.938 kB / 0.5185 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.1354, allocations: 135.8 kB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.1354, allocations: 7.984 kB / 0.5186 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1354, allocations: 15.92 kB / 0.5186 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1356, allocations: 119.6 kB / 0.5187 GB, free: 5.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1356, allocations: 0 / 0.5187 GB, free: 5.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1356, allocations: 0 / 0.5187 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1356, allocations: 3.938 kB / 0.5187 GB, free: 5.273 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000458/0.1361, allocations: 298 kB / 0.519 GB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1361, allocations: 8.031 kB / 0.519 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1362, allocations: 8.875 kB / 0.519 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1363, allocations: 118.4 kB / 0.5191 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1363, allocations: 4.312 kB / 0.5191 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1363, allocations: 8.375 kB / 0.5192 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1365, allocations: 46.25 kB / 0.5192 GB, free: 4.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1365, allocations: 3.938 kB / 0.5192 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1365, allocations: 11.98 kB / 0.5192 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1365, allocations: 0 / 0.5192 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.1366, allocations: 23.98 kB / 0.5192 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.1367, allocations: 121.2 kB / 0.5194 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.137, allocations: 58.53 kB / 0.5194 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.137, allocations: 20.86 kB / 0.5194 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.1372, allocations: 27.95 kB / 0.5195 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1373, allocations: 30.56 kB / 0.5195 GB, free: 4.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.1373, allocations: 4 kB / 0.5195 GB, free: 4.387 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1392/0.2765, allocations: 6.384 MB / 0.5257 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2766, allocations: 55.41 kB / 0.5258 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2767, allocations: 101.8 kB / 0.5259 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.2767, allocations: 33.7 kB / 0.5259 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.2768, allocations: 84.12 kB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.2769, allocations: 63.44 kB / 0.526 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.2771, allocations: 89.59 kB / 0.5261 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2772, allocations: 323.2 kB / 0.5264 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.2778, allocations: 231.8 kB / 0.5267 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.2783, allocations: 227.8 kB / 0.5269 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.2804, allocations: 0.5585 MB / 0.5274 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2804, allocations: 4 kB / 0.5274 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001821/0.2822, allocations: 0.6065 MB / 0.528 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2823, allocations: 4 kB / 0.528 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2823, allocations: 0 / 0.528 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2823, allocations: 0 / 0.528 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.2829, allocations: 115.8 kB / 0.5281 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2829, allocations: 4 kB / 0.5281 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.2833, allocations: 23.95 kB / 0.5282 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.2834, allocations: 35.94 kB / 0.5282 GB, free: 11.38 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 (19): * Single equations (assignments): 19 * 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.0001571/0.2836, allocations: 121.7 kB / 0.5283 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.2836, allocations: 7.953 kB / 0.5283 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.2857, allocations: 0.7241 MB / 0.529 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2857, allocations: 0 / 0.529 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2857, allocations: 4 kB / 0.529 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2857, allocations: 0 / 0.529 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/0.2897, allocations: 1.064 MB / 0.5301 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2897, allocations: 4 kB / 0.5301 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.2902, allocations: 107.7 kB / 0.5302 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.2902, allocations: 7.938 kB / 0.5302 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.2903, allocations: 23.95 kB / 0.5302 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.2903, allocations: 4 kB / 0.5302 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2903, allocations: 0 / 0.5302 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.292, allocations: 0.5849 MB / 0.5308 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.292, allocations: 11.89 kB / 0.5308 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.292, allocations: 4 kB / 0.5308 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.2924, allocations: 27.95 kB / 0.5308 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.2925, allocations: 19.92 kB / 0.5308 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.2925, allocations: 31.95 kB / 0.5309 GB, free: 8.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.738e-05/0.2926, allocations: 79.28 kB / 0.5309 GB, free: 8.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2926, allocations: 0 / 0.5309 GB, free: 8.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001639/0.2942, allocations: 0.648 MB / 0.5316 GB, free: 7.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002953/0.2972, allocations: 298.6 kB / 0.5319 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.2984, allocations: 439.5 kB / 0.5323 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2984, allocations: 0 / 0.5323 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.2989, allocations: 191.7 kB / 0.5325 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.2992, allocations: 20.31 kB / 0.5325 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3015, allocations: 0.5388 MB / 0.533 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.804e-05/0.3016, allocations: 91.25 kB / 0.5331 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.302, allocations: 83.3 kB / 0.5332 GB, free: 6.078 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.302, allocations: 0 / 0.5332 GB, free: 6.078 MB / 414.1 MB Notification: Performance of Templates: time 0.2511/0.5531, allocations: 15.99 MB / 0.5488 GB, free: 23.87 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 11.115406871307641]