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.0008732/0.0008732, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00368/0.00368, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 18.57 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.8135/0.8135, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.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.2421/0.2421, allocations: 34.26 MB / 295.7 MB, free: 0.7266 MB / 266.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.383e-06/1.383e-06, allocations: 0 / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.688e-05, allocations: 2.281 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001013/0.00104, allocations: 0.5414 MB / 444 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004915/0.001532, allocations: 342.6 kB / 444.3 MB, free: 320 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.001559, allocations: 0 / 444.3 MB, free: 320 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.001575, allocations: 4 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.924e-05/0.001604, allocations: 3.938 kB / 444.3 MB, free: 312 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.001957, allocations: 95.59 kB / 444.4 MB, free: 216 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.002016, allocations: 31.91 kB / 444.4 MB, free: 184 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.002063, allocations: 8 kB / 444.4 MB, free: 176 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.002098, allocations: 11.98 kB / 444.4 MB, free: 164 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.002157, allocations: 19.91 kB / 444.5 MB, free: 144 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.002173, allocations: 0 / 444.5 MB, free: 144 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.002339, allocations: 107.9 kB / 444.6 MB, free: 36 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.002355, allocations: 11.98 kB / 444.6 MB, free: 24 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.002375, allocations: 11.92 kB / 444.6 MB, free: 12 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2014/0.2038, allocations: 107.5 kB / 444.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2038, allocations: 0.6875 kB / 444.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2038, allocations: 0 / 444.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2038, allocations: 2.438 kB / 444.7 MB, free: 43.75 MB / 410.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.0003778/0.2042, allocations: 291.6 kB / 445 MB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2042, allocations: 8.156 kB / 445 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.2042, allocations: 9.234 kB / 445 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.2043, allocations: 109.2 kB / 445.1 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2043, allocations: 14.11 kB / 445.1 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.2044, allocations: 4.469 kB / 445.1 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2045, allocations: 54.2 kB / 445.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2045, allocations: 7.078 kB / 445.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2045, allocations: 3.219 kB / 445.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2045, allocations: 3.094 kB / 445.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.2046, allocations: 32.2 kB / 445.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.2047, allocations: 112.9 kB / 445.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.2049, allocations: 53.03 kB / 445.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.2049, allocations: 26.92 kB / 445.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.2051, allocations: 29.5 kB / 445.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.2051, allocations: 36.66 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.2051, allocations: 0 / 445.5 MB, free: 43.12 MB / 410.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.01714/0.2223, allocations: 2.579 MB / 448.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2223, allocations: 51.41 kB / 448.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.2223, allocations: 105.3 kB / 448.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.2224, allocations: 29.64 kB / 448.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.2224, allocations: 80.14 kB / 448.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.2224, allocations: 66.88 kB / 448.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.2225, allocations: 59.7 kB / 448.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.57e-05/0.2225, allocations: 320.9 kB / 448.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.2227, allocations: 174.9 kB / 448.9 MB, free: 42.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.2229, allocations: 175.1 kB / 449.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.2234, allocations: 427.2 kB / 449.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2234, allocations: 0 / 449.5 MB, free: 41.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005304/0.224, allocations: 455.6 kB / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.224, allocations: 5.5 kB / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.224, allocations: 0 / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.224, allocations: 6.75 kB / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2242, allocations: 73.2 kB / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2242, allocations: 2.906 kB / 450 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.2243, allocations: 14.97 kB / 450.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2243, allocations: 22.02 kB / 450.1 MB, free: 41.61 MB / 410.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 6.503e-05/0.2244, allocations: 113.8 kB / 450.2 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.2244, allocations: 10.86 kB / 450.2 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.225, allocations: 0.5502 MB / 450.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.225, allocations: 0.75 kB / 450.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.225, allocations: 3 kB / 450.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.225, allocations: 0 / 450.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2261, allocations: 0.7872 MB / 451.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2261, allocations: 0 / 451.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2262, allocations: 68.11 kB / 451.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2262, allocations: 0 / 451.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2262, allocations: 18.75 kB / 451.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2262, allocations: 3.312 kB / 451.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2262, allocations: 6.938 kB / 451.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.2267, allocations: 462.6 kB / 452.1 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.2267, allocations: 10.69 kB / 452.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.2267, allocations: 5.969 kB / 452.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.2268, allocations: 23.06 kB / 452.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.2268, allocations: 24.3 kB / 452.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2268, allocations: 17.56 kB / 452.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.2268, allocations: 81.25 kB / 452.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2268, allocations: 0 / 452.2 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.2273, allocations: 320.7 kB / 452.6 MB, free: 40.51 MB / 410.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.0008304/0.2282, allocations: 256.8 kB / 452.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.2286, allocations: 326.5 kB / 453.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2286, allocations: 2.188 kB / 453.1 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.2288, allocations: 145.8 kB / 453.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.229, allocations: 10.31 kB / 453.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.2296, allocations: 444.7 kB / 453.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.2296, allocations: 85.59 kB / 453.8 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2297, allocations: 46.59 kB / 453.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2297, allocations: 0 / 453.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of Templates: time 0.005078/0.2348, allocations: 6.591 MB / 460.4 MB, free: 39.46 MB / 410.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/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: 4.642557766288519]