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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002118/0.002118, allocations: 195.2 kB / 22.98 MB, free: 5.016 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.429/1.429, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.2208/0.2208, allocations: 44.24 MB / 330.2 MB, free: 9.555 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 78.55 kB / 467.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 61.05 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00163/0.1173, allocations: 0.5337 MB / 0.5171 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.1181, allocations: 416.5 kB / 0.5175 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.1181, allocations: 0 / 0.5175 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.1182, allocations: 3.938 kB / 0.5175 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.1182, allocations: 3.938 kB / 0.5175 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.1187, allocations: 143.5 kB / 0.5177 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.1187, allocations: 27.86 kB / 0.5177 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.1188, allocations: 8 kB / 0.5177 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.24e-05/0.1188, allocations: 15.92 kB / 0.5177 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.1188, allocations: 19.91 kB / 0.5177 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1188, allocations: 4 kB / 0.5177 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.1191, allocations: 159.8 kB / 0.5179 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1191, allocations: 3.984 kB / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.1192, allocations: 15.88 kB / 0.5179 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1194, allocations: 131.6 kB / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1194, allocations: 0 / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1194, allocations: 0 / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1194, allocations: 4 kB / 0.518 GB, free: 5.391 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.0004642/0.1199, allocations: 294 kB / 0.5183 GB, free: 5.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1199, allocations: 12.03 kB / 0.5183 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1199, allocations: 0.9375 kB / 0.5183 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1201, allocations: 118.4 kB / 0.5184 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1201, allocations: 384 / 0.5184 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.1201, allocations: 8.375 kB / 0.5184 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1203, allocations: 58.17 kB / 0.5185 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1203, allocations: 7.938 kB / 0.5185 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1203, allocations: 4 kB / 0.5185 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1203, allocations: 0 / 0.5185 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.1204, allocations: 23.98 kB / 0.5185 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.1206, allocations: 144.7 kB / 0.5187 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1208, allocations: 58.52 kB / 0.5187 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.1209, allocations: 24.84 kB / 0.5187 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/0.1211, allocations: 31.97 kB / 0.5188 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1212, allocations: 38.55 kB / 0.5188 GB, free: 4.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.1212, allocations: 0 / 0.5188 GB, free: 4.461 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.1464/0.2675, allocations: 6.372 MB / 0.525 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.2676, allocations: 55.41 kB / 0.5251 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.2677, allocations: 101.8 kB / 0.5252 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.2678, allocations: 33.7 kB / 0.5252 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2679, allocations: 88.08 kB / 0.5253 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.968e-05/0.268, allocations: 63.44 kB / 0.5254 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.2681, allocations: 85.59 kB / 0.5254 GB, free: 13.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.2683, allocations: 322.8 kB / 0.5257 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.2689, allocations: 223.8 kB / 0.526 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.2696, allocations: 235.8 kB / 0.5262 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.2719, allocations: 0.5615 MB / 0.5267 GB, free: 12.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2719, allocations: 4 kB / 0.5267 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001991/0.2739, allocations: 0.6029 MB / 0.5273 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.2739, allocations: 11.98 kB / 0.5273 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2739, allocations: 0 / 0.5273 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.274, allocations: 4 kB / 0.5273 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.2747, allocations: 111.8 kB / 0.5275 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2747, allocations: 0 / 0.5275 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.2752, allocations: 27.97 kB / 0.5275 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/0.2753, allocations: 31.94 kB / 0.5275 GB, free: 11.46 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.0001664/0.2754, allocations: 117.8 kB / 0.5276 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.2755, allocations: 7.953 kB / 0.5276 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.2778, allocations: 0.7313 MB / 0.5283 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2778, allocations: 4.469 kB / 0.5283 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2778, allocations: 0 / 0.5283 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.78e-05/0.2779, allocations: 3.984 kB / 0.5283 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.2823, allocations: 1.133 MB / 0.5295 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.2823, allocations: 7.984 kB / 0.5295 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.2829, allocations: 99.92 kB / 0.5296 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2829, allocations: 8 kB / 0.5296 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.2829, allocations: 27.95 kB / 0.5296 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.283, allocations: 4 kB / 0.5296 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.283, allocations: 4 kB / 0.5296 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.2848, allocations: 0.5743 MB / 0.5302 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.2848, allocations: 7.953 kB / 0.5302 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.2848, allocations: 12 kB / 0.5302 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.2853, allocations: 27.89 kB / 0.5302 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.2853, allocations: 19.97 kB / 0.5302 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.2854, allocations: 27.95 kB / 0.5303 GB, free: 8.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.2854, allocations: 87.27 kB / 0.5303 GB, free: 8.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2854, allocations: 0 / 0.5303 GB, free: 8.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001826/0.2873, allocations: 0.6518 MB / 0.531 GB, free: 7.793 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.003043/0.2903, allocations: 302.5 kB / 0.5313 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.2916, allocations: 435.6 kB / 0.5317 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2916, allocations: 0 / 0.5317 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.2922, allocations: 199.7 kB / 0.5319 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2925, allocations: 12 kB / 0.5319 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.295, allocations: 0.5219 MB / 0.5324 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2953, allocations: 0.6964 MB / 0.5331 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.2957, allocations: 121 kB / 0.5332 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.2961, allocations: 87.28 kB / 0.5333 GB, free: 5.352 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2961, allocations: 0 / 0.5333 GB, free: 5.352 MB / 414.1 MB Notification: Performance of Templates: time 0.264/0.5601, allocations: 57.62 MB / 0.5895 GB, free: 12.45 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/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: 5.867075137794018]