Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 113.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3036, allocations: 60.81 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00156/0.3052, allocations: 0.5522 MB / 0.5201 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005802/0.3058, allocations: 363.8 kB / 0.5204 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.3058, allocations: 0 / 0.5204 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.3059, allocations: 7.875 kB / 0.5204 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.772e-05/0.3059, allocations: 4 kB / 0.5204 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.3063, allocations: 108.7 kB / 0.5205 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.3064, allocations: 24.59 kB / 0.5206 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.3064, allocations: 4.156 kB / 0.5206 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.3064, allocations: 13.95 kB / 0.5206 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.3065, allocations: 17.66 kB / 0.5206 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3065, allocations: 1 kB / 0.5206 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.3068, allocations: 121.4 kB / 0.5207 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.3068, allocations: 11.83 kB / 0.5207 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.3068, allocations: 13.22 kB / 0.5207 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.307, allocations: 98.72 kB / 0.5208 GB, free: 2.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.307, allocations: 1.312 kB / 0.5208 GB, free: 2.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.307, allocations: 0 / 0.5208 GB, free: 2.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.307, allocations: 0 / 0.5208 GB, free: 2.867 MB / 382.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.0003125/0.3074, allocations: 361.9 kB / 0.5212 GB, free: 2.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3074, allocations: 8.312 kB / 0.5212 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.3074, allocations: 8.531 kB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.3075, allocations: 172.4 kB / 0.5214 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3075, allocations: 3.156 kB / 0.5214 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3075, allocations: 3.641 kB / 0.5214 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3077, allocations: 57.78 kB / 0.5214 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3077, allocations: 192 / 0.5214 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3077, allocations: 9.266 kB / 0.5214 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3077, allocations: 0 / 0.5214 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.3078, allocations: 29.81 kB / 0.5215 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.3079, allocations: 173.3 kB / 0.5216 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.3081, allocations: 63.34 kB / 0.5217 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.3082, allocations: 27.48 kB / 0.5217 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.3084, allocations: 109.1 kB / 0.5218 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.148e-05/0.3084, allocations: 31.36 kB / 0.5219 GB, free: 1.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3084, allocations: 1.5 kB / 0.5219 GB, free: 1.832 MB / 382.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.04324/0.3517, allocations: 2.577 MB / 0.5244 GB, free: 1.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.3517, allocations: 52.62 kB / 0.5244 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.3518, allocations: 104.9 kB / 0.5245 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.3518, allocations: 29.7 kB / 0.5245 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.3518, allocations: 81.55 kB / 0.5246 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.3519, allocations: 62.22 kB / 0.5247 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.352, allocations: 58.92 kB / 0.5247 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.3521, allocations: 324.9 kB / 0.5251 GB, free: 440 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3524, allocations: 182.6 kB / 0.5252 GB, free: 340 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.3528, allocations: 175.8 kB / 0.5254 GB, free: 248 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.3537, allocations: 414.5 kB / 0.5258 GB, free: 44 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3537, allocations: 1.375 kB / 0.5258 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001046/0.3548, allocations: 462.7 kB / 0.5262 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3548, allocations: 5.5 kB / 0.5262 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3548, allocations: 0 / 0.5262 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3549, allocations: 1.375 kB / 0.5262 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.3553, allocations: 70.75 kB / 0.5263 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3553, allocations: 5.312 kB / 0.5263 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.3555, allocations: 21.62 kB / 0.5263 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.3556, allocations: 17.11 kB / 0.5263 GB, free: 15.77 MB / 398.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.0001243/0.3557, allocations: 124.3 kB / 0.5265 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.3557, allocations: 12.38 kB / 0.5265 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.357, allocations: 0.534 MB / 0.527 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.357, allocations: 5.297 kB / 0.527 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.357, allocations: 256 / 0.527 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.3571, allocations: 87.61 kB / 0.5271 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.3571, allocations: 9.406 kB / 0.5271 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3574, allocations: 22 kB / 0.5271 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.3574, allocations: 13.05 kB / 0.5271 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00129/0.3587, allocations: 0.5509 MB / 0.5277 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001125/0.3598, allocations: 0.6058 MB / 0.5283 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000398/0.3603, allocations: 200.5 kB / 0.5285 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.3603, allocations: 79.53 kB / 0.5285 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Backend: time 8.42e-07/0.3603, allocations: 0 / 0.5285 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.3627, allocations: 434.8 kB / 0.5289 GB, free: 14.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005453/0.3632, allocations: 0.6154 MB / 0.5295 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.02409/0.3873, allocations: 18.5 MB / 0.5476 GB, free: 15.07 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches