Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 114.5 kB / 21.18 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002322/0.002322, allocations: 208.8 kB / 24.48 MB, free: 4.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2248/0.2248, allocations: 46.9 MB / 361.1 MB, free: 4.688 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 87.84 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3051, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001627/0.3067, allocations: 0.5381 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.3075, allocations: 366.7 kB / 0.5621 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.3075, allocations: 0 / 0.5621 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.3075, allocations: 3.938 kB / 0.5621 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.172e-05/0.3076, allocations: 7.875 kB / 0.5621 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.308, allocations: 107.6 kB / 0.5622 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.439e-05/0.308, allocations: 31.91 kB / 0.5622 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.3081, allocations: 3.797 kB / 0.5622 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.3081, allocations: 15.94 kB / 0.5622 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.3082, allocations: 15.91 kB / 0.5623 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3082, allocations: 4 kB / 0.5623 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.3084, allocations: 115.9 kB / 0.5624 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3084, allocations: 11.98 kB / 0.5624 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.3085, allocations: 19.86 kB / 0.5624 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3086, allocations: 90.7 kB / 0.5625 GB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3086, allocations: 0 / 0.5625 GB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3086, allocations: 8 kB / 0.5625 GB, free: 3.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3086, allocations: 0 / 0.5625 GB, free: 3.719 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.0004804/0.3091, allocations: 363.1 kB / 0.5628 GB, free: 3.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3092, allocations: 8.031 kB / 0.5628 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.3092, allocations: 4.938 kB / 0.5629 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3093, allocations: 172.3 kB / 0.563 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3094, allocations: 4.375 kB / 0.563 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3094, allocations: 4.375 kB / 0.563 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3095, allocations: 54.23 kB / 0.5631 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3095, allocations: 8.188 kB / 0.5631 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3095, allocations: 3.938 kB / 0.5631 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3095, allocations: 7.938 kB / 0.5631 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.3096, allocations: 31.92 kB / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.3098, allocations: 173.6 kB / 0.5633 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.31, allocations: 50.55 kB / 0.5633 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.3101, allocations: 28.84 kB / 0.5634 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.3104, allocations: 109.1 kB / 0.5635 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3104, allocations: 34.78 kB / 0.5635 GB, free: 2.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3104, allocations: 0 / 0.5635 GB, free: 2.5 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.04378/0.3542, allocations: 2.572 MB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3542, allocations: 55.41 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.3543, allocations: 101.8 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.3544, allocations: 33.7 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.3544, allocations: 87.89 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.3545, allocations: 59.44 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3546, allocations: 61.69 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3548, allocations: 318.8 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.3552, allocations: 175.9 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.3556, allocations: 179.8 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.3566, allocations: 419.9 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3567, allocations: 0 / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001101/0.3578, allocations: 465.3 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3578, allocations: 4.469 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3578, allocations: 0 / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3578, allocations: 0 / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.3582, allocations: 71.94 kB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3582, allocations: 4 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.3584, allocations: 23.91 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.3585, allocations: 12.25 kB / 0.568 GB, free: 13.81 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.000137/0.3586, allocations: 129.7 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.3587, allocations: 7.953 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.36, allocations: 0.5369 MB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.36, allocations: 4 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.36, allocations: 0 / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.36, allocations: 85.05 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.3601, allocations: 8 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3603, allocations: 15.92 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.3603, allocations: 15.98 kB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.3616, allocations: 0.5544 MB / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001165/0.3628, allocations: 0.6079 MB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004161/0.3632, allocations: 190.8 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.3633, allocations: 83.27 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Backend: time 4.81e-07/0.3633, allocations: 0 / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.3654, allocations: 417.8 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005689/0.366, allocations: 0.615 MB / 0.5712 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Templates: time 0.02609/0.392, allocations: 18.7 MB / 0.5894 GB, free: 7.754 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.9937533820047975]