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.001219/0.001219, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002898, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001268/0.001268, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002696, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.8871/0.8871, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08429/0.9714, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2333/0.2333, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02059/0.2539, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 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 1.432e-06/1.432e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.815e-05, allocations: 8.562 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001451/0.001469, allocations: 0.5733 MB / 293.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.002, allocations: 355.1 kB / 293.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.002019, allocations: 4 kB / 293.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.532e-06/0.002026, allocations: 3.938 kB / 293.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.281e-05/0.002039, allocations: 0 / 293.5 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.002302, allocations: 95.53 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.934e-05/0.002361, allocations: 23.97 kB / 293.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.002399, allocations: 7.938 kB / 293.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.002454, allocations: 19.98 kB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.002509, allocations: 15.91 kB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.002525, allocations: 4 kB / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.002773, allocations: 127.8 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.002785, allocations: 4 kB / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.002802, allocations: 7.938 kB / 293.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.002976, allocations: 91.78 kB / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.00299, allocations: 0 / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002991, allocations: 4 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.003004, allocations: 0 / 293.9 MB, free: 4.977 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.0003852/0.00339, allocations: 277.5 kB / 294.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.00342, allocations: 8.625 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.003451, allocations: 12.88 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.382e-05/0.003535, allocations: 105.8 kB / 294.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.003546, allocations: 384 / 294.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.003567, allocations: 16.27 kB / 294.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.13e-05/0.003649, allocations: 46.23 kB / 294.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.003659, allocations: 4.172 kB / 294.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.003669, allocations: 12.36 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.003674, allocations: 384 / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.003718, allocations: 23.86 kB / 294.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.00382, allocations: 65.05 kB / 294.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.003986, allocations: 38.56 kB / 294.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.004015, allocations: 20.84 kB / 294.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.004195, allocations: 28.25 kB / 294.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.004219, allocations: 38.5 kB / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.004221, allocations: 4 kB / 294.6 MB, free: 4.199 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.0138/0.01802, allocations: 2.985 MB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01805, allocations: 51.41 kB / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.0181, allocations: 110.7 kB / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.01813, allocations: 29.7 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.01815, allocations: 84.12 kB / 297.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.01821, allocations: 63.42 kB / 297.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.01831, allocations: 57.62 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.688e-05/0.01837, allocations: 322.8 kB / 298.3 MB, free: 448 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.01852, allocations: 172 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.01867, allocations: 182.5 kB / 298.7 MB, free: 96 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.01899, allocations: 384.7 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01899, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003726/0.01936, allocations: 420.4 kB / 299.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01937, allocations: 7.938 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01938, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.01938, allocations: 4 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.01971, allocations: 99.81 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01971, allocations: 0 / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.01983, allocations: 23.97 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.01986, allocations: 15.95 kB / 299.6 MB, free: 15.15 MB / 298.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.794e-05/0.01994, allocations: 117.8 kB / 299.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.01999, allocations: 8 kB / 299.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.02058, allocations: 0.5719 MB / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.02058, allocations: 4 kB / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.02058, allocations: 0 / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.02059, allocations: 0 / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.02161, allocations: 0.6962 MB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02161, allocations: 0 / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.02184, allocations: 92.03 kB / 301.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.02185, allocations: 7.953 kB / 301.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.02185, allocations: 4 kB / 301.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.02187, allocations: 15.97 kB / 301.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.02188, allocations: 4.188 kB / 301.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02188, allocations: 4 kB / 301.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.02218, allocations: 380.5 kB / 301.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.02221, allocations: 0 / 301.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.02232, allocations: 31.92 kB / 301.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.02234, allocations: 19.91 kB / 301.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.02236, allocations: 11.97 kB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.047e-05/0.02237, allocations: 8.859 kB / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02237, allocations: 0 / 301.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.02286, allocations: 271.7 kB / 301.8 MB, free: 12.83 MB / 298.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.000597/0.02346, allocations: 247.9 kB / 302.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.02381, allocations: 343.5 kB / 302.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.02381, allocations: 7.984 kB / 302.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.02395, allocations: 144.7 kB / 302.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.02412, allocations: 35.94 kB / 302.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.02486, allocations: 417.3 kB / 303 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.0249, allocations: 67.58 kB / 303.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003684/0.02527, allocations: 189 kB / 303.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.02555, allocations: 87.28 kB / 303.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02555, allocations: 0 / 303.3 MB, free: 11.24 MB / 298.7 MB Notification: Performance of Templates: time 0.01484/0.04039, allocations: 17.52 MB / 320.9 MB, free: 9.719 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.696731767617166]