Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001463/0.001463, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.001611/0.001611, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 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.418/1.418, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 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.2184/0.2184, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 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.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,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.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.645e-05, allocations: 2.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001199/0.001225, allocations: 0.5337 MB / 347.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005177/0.001743, allocations: 348.4 kB / 347.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.001772, allocations: 0 / 347.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.001784, allocations: 7.938 kB / 347.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.001822, allocations: 3.938 kB / 347.8 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.00216, allocations: 99.58 kB / 347.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.312e-05/0.002213, allocations: 27.91 kB / 347.9 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.002254, allocations: 4 kB / 347.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.002287, allocations: 15.92 kB / 348 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.002341, allocations: 23.97 kB / 348 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.002357, allocations: 0 / 348 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.002543, allocations: 107.9 kB / 348.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.002557, allocations: 7.922 kB / 348.1 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.002583, allocations: 8 kB / 348.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.002742, allocations: 123.6 kB / 348.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.002745, allocations: 0 / 348.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002745, allocations: 0 / 348.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.00275, allocations: 0 / 348.2 MB, free: 8.527 MB / 282.7 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.00035/0.0031, allocations: 286 kB / 348.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.003133, allocations: 12.03 kB / 348.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.003176, allocations: 8.891 kB / 348.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.647e-05/0.003242, allocations: 125.6 kB / 348.6 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.003256, allocations: 8.375 kB / 348.6 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.003282, allocations: 4.375 kB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.003399, allocations: 54.25 kB / 348.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.003412, allocations: 4.172 kB / 348.7 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.003421, allocations: 384 / 348.7 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003426, allocations: 384 / 348.7 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.003482, allocations: 31.86 kB / 348.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.003596, allocations: 117.3 kB / 348.9 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.00379, allocations: 58.55 kB / 348.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.003828, allocations: 16.86 kB / 348.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.004052, allocations: 32.23 kB / 349 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.004065, allocations: 38.5 kB / 349 MB, free: 7.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.004066, allocations: 0 / 349 MB, free: 7.633 MB / 282.7 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.04024/0.04431, allocations: 2.572 MB / 351.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.04433, allocations: 51.41 kB / 351.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.04439, allocations: 109.8 kB / 351.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.04441, allocations: 29.7 kB / 351.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.77e-05/0.04443, allocations: 88.14 kB / 351.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.04449, allocations: 63.42 kB / 351.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.0446, allocations: 61.67 kB / 352 MB, free: 4.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.04463, allocations: 314.8 kB / 352.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.04496, allocations: 175.9 kB / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.04528, allocations: 183 kB / 352.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.04613, allocations: 404.7 kB / 353 MB, free: 3.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.04613, allocations: 0 / 353 MB, free: 3.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008895/0.04702, allocations: 473.3 kB / 353.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.04703, allocations: 6.656 kB / 353.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.04704, allocations: 3.938 kB / 353.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.04706, allocations: 0 / 353.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.04742, allocations: 71.94 kB / 353.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.04742, allocations: 4 kB / 353.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.04763, allocations: 20.22 kB / 353.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.04767, allocations: 23.98 kB / 353.6 MB, free: 2.934 MB / 282.7 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 8.755e-05/0.04775, allocations: 117.8 kB / 353.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.04782, allocations: 19.89 kB / 353.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.04892, allocations: 0.5403 MB / 354.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.04892, allocations: 3.984 kB / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.04892, allocations: 0 / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.04893, allocations: 0 / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.05076, allocations: 0.7842 MB / 355.1 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.05076, allocations: 4 kB / 355.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.05103, allocations: 72.06 kB / 355.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.05103, allocations: 4 kB / 355.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.05106, allocations: 19.98 kB / 355.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.05106, allocations: 0 / 355.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.05106, allocations: 7.938 kB / 355.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.05185, allocations: 464.4 kB / 355.6 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.05186, allocations: 7.953 kB / 355.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.05189, allocations: 8 kB / 355.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.05211, allocations: 19.97 kB / 355.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.05213, allocations: 19.86 kB / 355.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.05216, allocations: 19.98 kB / 355.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.913e-05/0.05218, allocations: 79.28 kB / 355.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05218, allocations: 0 / 355.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007512/0.05293, allocations: 319.6 kB / 356.1 MB, free: 352 kB / 282.7 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.001301/0.05423, allocations: 258.8 kB / 356.3 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008505/0.05508, allocations: 327.7 kB / 356.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.05508, allocations: 0 / 356.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.05546, allocations: 143.8 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.05576, allocations: 27.98 kB / 356.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.0572, allocations: 426 kB / 357.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.584e-05/0.0573, allocations: 83.55 kB / 357.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.05761, allocations: 93.17 kB / 357.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.05782, allocations: 56.39 kB / 357.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05782, allocations: 4 kB / 357.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.02968/0.0875, allocations: 18.15 MB / 375.6 MB, free: 12.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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: 4.811819507973269]