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.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.001568/0.001568, allocations: 84.22 kB / 20.68 MB, free: 1.035 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.001725/0.001725, allocations: 165.2 kB / 23.96 MB, free: 4.16 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.389/1.389, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1945/0.1945, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.406e-05, allocations: 9.094 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001403/0.001427, allocations: 0.5323 MB / 440.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006523/0.002079, allocations: 334.7 kB / 440.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.002105, allocations: 3.938 kB / 440.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.002121, allocations: 0 / 440.9 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.771e-05/0.002149, allocations: 3.938 kB / 440.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.002534, allocations: 111.5 kB / 441.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.002593, allocations: 27.97 kB / 441.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.002636, allocations: 4 kB / 441.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.002674, allocations: 19.91 kB / 441.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.002725, allocations: 11.98 kB / 441.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.002739, allocations: 0 / 441.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.002955, allocations: 107.9 kB / 441.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.002972, allocations: 11.92 kB / 441.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.00299, allocations: 4 kB / 441.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.003188, allocations: 119.6 kB / 441.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00319, allocations: 0 / 441.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003191, allocations: 4 kB / 441.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.006e-06/0.003199, allocations: 3.938 kB / 441.4 MB, free: 6.895 MB / 366.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.003623, allocations: 290 kB / 441.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.003655, allocations: 8.031 kB / 441.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.003687, allocations: 8.891 kB / 441.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.003801, allocations: 113.8 kB / 441.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.003814, allocations: 4.375 kB / 441.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.003848, allocations: 8.375 kB / 441.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.003969, allocations: 50.25 kB / 441.8 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.003991, allocations: 8.078 kB / 441.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004, allocations: 4.375 kB / 441.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.004003, allocations: 4.375 kB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.154e-05/0.004075, allocations: 31.91 kB / 441.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.004236, allocations: 113.3 kB / 442 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.004445, allocations: 54.83 kB / 442 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.004494, allocations: 24.8 kB / 442.1 MB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.004719, allocations: 27.95 kB / 442.1 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.004746, allocations: 38.5 kB / 442.1 MB, free: 6.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.004747, allocations: 4 kB / 442.1 MB, free: 6.004 MB / 366.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.04363/0.04838, allocations: 2.578 MB / 444.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.04842, allocations: 51.41 kB / 444.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.04852, allocations: 105.8 kB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.04857, allocations: 25.7 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.04862, allocations: 84.14 kB / 445 MB, free: 3.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.0487, allocations: 63.44 kB / 445 MB, free: 3.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.04884, allocations: 53.69 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.04899, allocations: 322.8 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.04941, allocations: 180.4 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.04981, allocations: 170.5 kB / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.05092, allocations: 420.6 kB / 446.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.05093, allocations: 0 / 446.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001145/0.05207, allocations: 468.2 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.05209, allocations: 7.938 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.05209, allocations: 0 / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.05211, allocations: 0 / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.0525, allocations: 75.92 kB / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.05251, allocations: 0 / 446.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.05273, allocations: 24.22 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.05277, allocations: 15.98 kB / 446.7 MB, free: 1.316 MB / 366.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.0001338/0.0529, allocations: 118.4 kB / 446.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.05295, allocations: 15.89 kB / 446.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.05431, allocations: 0.5369 MB / 447.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.05432, allocations: 4 kB / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.05432, allocations: 0 / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.05433, allocations: 7.922 kB / 447.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1633/0.2176, allocations: 0.7794 MB / 448.2 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2176, allocations: 3.5 kB / 448.2 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.2179, allocations: 71 kB / 448.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.2179, allocations: 3.344 kB / 448.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.2179, allocations: 17.06 kB / 448.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2179, allocations: 3.203 kB / 448.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.218, allocations: 8.938 kB / 448.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.2188, allocations: 453.9 kB / 448.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.2188, allocations: 12.7 kB / 448.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.2189, allocations: 6.875 kB / 448.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.2191, allocations: 23.16 kB / 448.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.2191, allocations: 18.02 kB / 448.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.2191, allocations: 17.52 kB / 448.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.258e-05/0.2191, allocations: 80.41 kB / 448.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2191, allocations: 0 / 448.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000813/0.22, allocations: 317 kB / 449.2 MB, free: 20.41 MB / 366.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.001303/0.2213, allocations: 261 kB / 449.5 MB, free: 20.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.222, allocations: 331.6 kB / 449.8 MB, free: 20.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.222, allocations: 1 kB / 449.8 MB, free: 20.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.2224, allocations: 143.3 kB / 449.9 MB, free: 20.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2226, allocations: 12.97 kB / 449.9 MB, free: 20.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2238, allocations: 420.8 kB / 450.4 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.889e-05/0.2239, allocations: 79.62 kB / 450.4 MB, free: 19.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.2241, allocations: 98.48 kB / 450.5 MB, free: 19.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2243, allocations: 48.62 kB / 450.6 MB, free: 19.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2243, allocations: 0 / 450.6 MB, free: 19.95 MB / 366.1 MB Notification: Performance of Templates: time 0.02219/0.2465, allocations: 18.04 MB / 468.6 MB, free: 13.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.675631012767553]