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.001455/0.001455, allocations: 105 kB / 20.44 MB, free: 1.504 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.001615/0.001615, allocations: 211.8 kB / 23.76 MB, free: 4.727 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.266/1.266, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] 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.1955/0.1955, allocations: 44.23 MB / 331 MB, free: 9.508 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.002162/0.002162, allocations: 78.86 kB / 468.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1039, allocations: 61.03 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001751/0.1057, allocations: 0.5493 MB / 0.5179 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.1065, allocations: 416.5 kB / 0.5183 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.1065, allocations: 0 / 0.5183 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1065, allocations: 0 / 0.5183 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.1066, allocations: 11.88 kB / 0.5183 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.107, allocations: 135.5 kB / 0.5184 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.1071, allocations: 27.86 kB / 0.5185 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.1071, allocations: 4 kB / 0.5185 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.1072, allocations: 23.91 kB / 0.5185 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.1072, allocations: 15.92 kB / 0.5185 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.1072, allocations: 0 / 0.5185 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.1075, allocations: 163.8 kB / 0.5187 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.1075, allocations: 7.984 kB / 0.5187 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.1075, allocations: 15.88 kB / 0.5187 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1078, allocations: 131.6 kB / 0.5188 GB, free: 5.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1078, allocations: 0 / 0.5188 GB, free: 5.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1078, allocations: 0 / 0.5188 GB, free: 5.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1078, allocations: 0 / 0.5188 GB, free: 5.352 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.0004167/0.1082, allocations: 297.9 kB / 0.5191 GB, free: 5.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1082, allocations: 8.031 kB / 0.5191 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1083, allocations: 4.938 kB / 0.5191 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1084, allocations: 118.4 kB / 0.5192 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1084, allocations: 4.359 kB / 0.5192 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1084, allocations: 4.375 kB / 0.5192 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1085, allocations: 58.17 kB / 0.5193 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1086, allocations: 3.938 kB / 0.5193 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1086, allocations: 0 / 0.5193 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1086, allocations: 4 kB / 0.5193 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.004e-05/0.1086, allocations: 31.98 kB / 0.5193 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.1088, allocations: 136.7 kB / 0.5195 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.109, allocations: 58.58 kB / 0.5195 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.1091, allocations: 24.84 kB / 0.5195 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.1093, allocations: 23.97 kB / 0.5196 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1093, allocations: 34.56 kB / 0.5196 GB, free: 4.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1093, allocations: 0 / 0.5196 GB, free: 4.434 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.1272/0.2366, allocations: 6.384 MB / 0.5258 GB, free: 14.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.2366, allocations: 51.41 kB / 0.5259 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2367, allocations: 109.8 kB / 0.526 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.2368, allocations: 29.7 kB / 0.526 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.2368, allocations: 84.14 kB / 0.5261 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/0.2369, allocations: 63.44 kB / 0.5261 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.2371, allocations: 89.59 kB / 0.5262 GB, free: 13.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2372, allocations: 326.8 kB / 0.5265 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.2378, allocations: 223.8 kB / 0.5268 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.2383, allocations: 243.2 kB / 0.527 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.2404, allocations: 0.5512 MB / 0.5275 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2404, allocations: 0 / 0.5275 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001788/0.2422, allocations: 0.6066 MB / 0.5281 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2422, allocations: 4 kB / 0.5281 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.2422, allocations: 3.984 kB / 0.5281 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.2422, allocations: 4 kB / 0.5281 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.2429, allocations: 107.8 kB / 0.5282 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2429, allocations: 7.984 kB / 0.5282 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.2433, allocations: 19.97 kB / 0.5283 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.2434, allocations: 35.94 kB / 0.5283 GB, free: 11.42 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.0001682/0.2435, allocations: 117.8 kB / 0.5284 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.2436, allocations: 7.953 kB / 0.5284 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.2457, allocations: 0.7315 MB / 0.5291 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.2457, allocations: 8 kB / 0.5291 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2457, allocations: 0 / 0.5291 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2457, allocations: 3.984 kB / 0.5291 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/0.2496, allocations: 1.137 MB / 0.5302 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2496, allocations: 0 / 0.5302 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.2502, allocations: 107.8 kB / 0.5304 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.2502, allocations: 4 kB / 0.5304 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.2502, allocations: 28.14 kB / 0.5304 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2502, allocations: 4 kB / 0.5304 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2502, allocations: 0 / 0.5304 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2519, allocations: 0.5821 MB / 0.531 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.2519, allocations: 7.953 kB / 0.531 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.2519, allocations: 8.469 kB / 0.531 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.2523, allocations: 31.95 kB / 0.531 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.2524, allocations: 7.984 kB / 0.531 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.2524, allocations: 31.95 kB / 0.531 GB, free: 8.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.2525, allocations: 79.28 kB / 0.5311 GB, free: 8.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2525, allocations: 7.938 kB / 0.5311 GB, free: 8.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00164/0.2541, allocations: 0.6518 MB / 0.5318 GB, free: 7.758 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.002957/0.2571, allocations: 298.7 kB / 0.532 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.2582, allocations: 439.5 kB / 0.5325 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2582, allocations: 0 / 0.5325 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.2587, allocations: 195.9 kB / 0.5326 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.259, allocations: 8 kB / 0.5327 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.2613, allocations: 0.5429 MB / 0.5332 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.2616, allocations: 0.7004 MB / 0.5339 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.2619, allocations: 91.28 kB / 0.534 GB, free: 5.41 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2619, allocations: 0 / 0.534 GB, free: 5.41 MB / 414.1 MB Notification: Performance of Templates: time 0.1943/0.4562, allocations: 15.97 MB / 0.5495 GB, free: 23.95 MB / 414.1 MB " [Timeout remaining time 660] 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: 9.400770837906748]