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.001401/0.001401, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.001556/0.001556, allocations: 213.4 kB / 22.99 MB, free: 4.879 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.422/1.422, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2241/0.2241, allocations: 44.27 MB / 330.3 MB, free: 9.312 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.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.002349/0.002349, allocations: 72.22 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1165, allocations: 61.04 MB / 0.5166 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001868/0.1184, allocations: 0.5299 MB / 0.5172 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.1192, allocations: 380.6 kB / 0.5175 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.1192, allocations: 0 / 0.5175 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.1193, allocations: 3.938 kB / 0.5175 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.1193, allocations: 4 kB / 0.5175 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.1198, allocations: 139.5 kB / 0.5177 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.48e-05/0.1199, allocations: 27.92 kB / 0.5177 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/0.1199, allocations: 7.984 kB / 0.5177 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.12, allocations: 23.92 kB / 0.5177 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.12, allocations: 11.92 kB / 0.5177 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.12, allocations: 3.938 kB / 0.5177 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.1203, allocations: 139.8 kB / 0.5179 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.1203, allocations: 7.984 kB / 0.5179 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1203, allocations: 15.92 kB / 0.5179 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1206, allocations: 115.7 kB / 0.518 GB, free: 5.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1206, allocations: 0 / 0.518 GB, free: 5.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1206, allocations: 0 / 0.518 GB, free: 5.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1206, allocations: 3.938 kB / 0.518 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.0004752/0.1211, allocations: 298 kB / 0.5183 GB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1211, allocations: 8.031 kB / 0.5183 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.1211, allocations: 4.938 kB / 0.5183 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1212, allocations: 118.4 kB / 0.5184 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1213, allocations: 4.312 kB / 0.5184 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.1213, allocations: 8.375 kB / 0.5184 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1214, allocations: 54.23 kB / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1215, allocations: 3.938 kB / 0.5185 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1215, allocations: 0 / 0.5185 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.1215, allocations: 4 kB / 0.5185 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.1216, allocations: 23.98 kB / 0.5185 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.1217, allocations: 125.2 kB / 0.5186 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.122, allocations: 50.56 kB / 0.5187 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.122, allocations: 24.84 kB / 0.5187 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.1222, allocations: 27.95 kB / 0.5187 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.1223, allocations: 34.56 kB / 0.5188 GB, free: 4.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.1223, allocations: 0 / 0.5188 GB, free: 4.391 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.1446/0.2669, allocations: 6.387 MB / 0.525 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.267, allocations: 59.34 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.267, allocations: 97.84 kB / 0.5251 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.2671, allocations: 29.7 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.2671, allocations: 84.14 kB / 0.5252 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2672, allocations: 71.42 kB / 0.5253 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.2674, allocations: 85.59 kB / 0.5254 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2676, allocations: 322.8 kB / 0.5257 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.2682, allocations: 227.8 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.2687, allocations: 239.2 kB / 0.5262 GB, free: 12.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.271, allocations: 0.5513 MB / 0.5267 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.271, allocations: 4 kB / 0.5267 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001906/0.2729, allocations: 0.6066 MB / 0.5273 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2729, allocations: 8 kB / 0.5273 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2729, allocations: 3.938 kB / 0.5273 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2729, allocations: 0 / 0.5273 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.2736, allocations: 107.8 kB / 0.5274 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2736, allocations: 4 kB / 0.5274 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.274, allocations: 19.97 kB / 0.5274 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.2741, allocations: 35.94 kB / 0.5275 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.2742, allocations: 121.7 kB / 0.5276 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.2743, allocations: 7.953 kB / 0.5276 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.2766, allocations: 0.7352 MB / 0.5283 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2766, allocations: 0 / 0.5283 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2766, allocations: 0 / 0.5283 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2766, allocations: 0 / 0.5283 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/0.2806, allocations: 1.06 MB / 0.5293 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2806, allocations: 4 kB / 0.5293 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.2812, allocations: 103.7 kB / 0.5294 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.2812, allocations: 7.938 kB / 0.5294 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.2812, allocations: 27.95 kB / 0.5295 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.2812, allocations: 4 kB / 0.5295 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2812, allocations: 3.938 kB / 0.5295 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.283, allocations: 0.5746 MB / 0.53 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.283, allocations: 11.89 kB / 0.5301 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.283, allocations: 4.469 kB / 0.5301 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2834, allocations: 27.95 kB / 0.5301 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.2835, allocations: 19.92 kB / 0.5301 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.2835, allocations: 39.92 kB / 0.5301 GB, free: 8.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.909e-05/0.2836, allocations: 79.28 kB / 0.5302 GB, free: 8.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2836, allocations: 3.938 kB / 0.5302 GB, free: 8.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001693/0.2853, allocations: 0.648 MB / 0.5309 GB, free: 7.801 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.002971/0.2883, allocations: 290.6 kB / 0.5311 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2895, allocations: 439.5 kB / 0.5315 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.2895, allocations: 4 kB / 0.5316 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.29, allocations: 195.7 kB / 0.5317 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2903, allocations: 12.31 kB / 0.5317 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.2927, allocations: 0.5138 MB / 0.5323 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.2928, allocations: 87.25 kB / 0.5323 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004649/0.2933, allocations: 128.9 kB / 0.5325 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.2936, allocations: 83.3 kB / 0.5325 GB, free: 5.988 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2936, allocations: 0 / 0.5325 GB, free: 5.988 MB / 414.1 MB Notification: Performance of Templates: time 0.2599/0.5535, allocations: 58.43 MB / 0.5896 GB, free: 12.76 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.941124737262726]