Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00149/0.00149, allocations: 110.8 kB / 21.19 MB, free: 0.668 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.002128/0.002128, allocations: 211.6 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 46.96 MB / 361.6 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 59.91 kB / 0.4973 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001727/0.3117, allocations: 0.5226 MB / 0.5623 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006823/0.3124, allocations: 334.9 kB / 0.5627 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.3125, allocations: 0 / 0.5627 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.3125, allocations: 3.938 kB / 0.5627 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.031e-05/0.3125, allocations: 3.938 kB / 0.5627 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3129, allocations: 103.7 kB / 0.5628 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.313, allocations: 23.97 kB / 0.5628 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.313, allocations: 7.797 kB / 0.5628 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.3131, allocations: 15.92 kB / 0.5628 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.3131, allocations: 19.92 kB / 0.5628 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.3131, allocations: 0 / 0.5628 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.3133, allocations: 123.8 kB / 0.5629 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.3134, allocations: 7.984 kB / 0.5629 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.3134, allocations: 7.938 kB / 0.563 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.3136, allocations: 98.41 kB / 0.563 GB, free: 2.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3136, allocations: 0 / 0.563 GB, free: 2.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3136, allocations: 0 / 0.563 GB, free: 2.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3136, allocations: 4 kB / 0.5631 GB, free: 2.938 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.0004236/0.314, allocations: 301.9 kB / 0.5633 GB, free: 2.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.314, allocations: 12.03 kB / 0.5634 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.3141, allocations: 0.9375 kB / 0.5634 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3142, allocations: 110.5 kB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.3142, allocations: 384 / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.3142, allocations: 8.375 kB / 0.5635 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.3143, allocations: 58.16 kB / 0.5635 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3143, allocations: 4.188 kB / 0.5635 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3144, allocations: 11.88 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3144, allocations: 4 kB / 0.5635 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.3144, allocations: 23.98 kB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.3146, allocations: 117.2 kB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3148, allocations: 50.84 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.3148, allocations: 28.78 kB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.3151, allocations: 27.95 kB / 0.5638 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3151, allocations: 34.56 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.3151, allocations: 0 / 0.5638 GB, free: 2.047 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.04433/0.3594, allocations: 2.585 MB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3595, allocations: 51.41 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.3596, allocations: 101.9 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.3596, allocations: 29.7 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.3597, allocations: 87.88 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.3598, allocations: 63.44 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3599, allocations: 61.69 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.36, allocations: 318.8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.3605, allocations: 175.9 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.3608, allocations: 171.9 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3619, allocations: 419 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3619, allocations: 7.938 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00109/0.363, allocations: 463 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.363, allocations: 4 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.363, allocations: 0 / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3631, allocations: 0 / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.3635, allocations: 75.94 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3635, allocations: 4 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.3637, allocations: 15.97 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.3637, allocations: 19.94 kB / 0.5683 GB, free: 13.34 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.000148/0.3639, allocations: 121.8 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3639, allocations: 7.953 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3652, allocations: 0.541 MB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3653, allocations: 0 / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3653, allocations: 4 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.3653, allocations: 15.94 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.3653, allocations: 0 / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.3655, allocations: 15.98 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3656, allocations: 19.91 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001322/0.3669, allocations: 0.5482 MB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001165/0.3681, allocations: 0.618 MB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003962/0.3685, allocations: 183.8 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.3685, allocations: 83.22 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.3685, allocations: 480 / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.3707, allocations: 420.6 kB / 0.5708 GB, free: 10.74 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006028/0.3713, allocations: 0.6111 MB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of Templates: time 0.02657/0.3979, allocations: 19.01 MB / 0.59 GB, free: 7.098 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.059864422000828]