Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009399/0.0009399, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002194, allocations: 447.8 kB / 10.35 MB, free: 348 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.0009012/0.0009012, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002065, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.847/0.847, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1537/1.001, allocations: 49.5 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1342/0.1342, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01818/0.1523, allocations: 12.29 MB / 265.9 MB, free: 7.84 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.128e-05, allocations: 2.312 kB / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001156/0.001177, allocations: 0.5867 MB / 267.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.001566, allocations: 342.6 kB / 268.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.001583, allocations: 3.938 kB / 268.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.683e-06/0.001589, allocations: 7.938 kB / 268.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.746e-06/0.001598, allocations: 0 / 268.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.001802, allocations: 103.5 kB / 268.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.575e-05/0.001857, allocations: 16 kB / 268.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.001895, allocations: 7.922 kB / 268.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.001949, allocations: 23.97 kB / 268.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.002, allocations: 7.984 kB / 268.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.002015, allocations: 3.938 kB / 268.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.002205, allocations: 135.8 kB / 268.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.002216, allocations: 4 kB / 268.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.002229, allocations: 8 kB / 268.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.002363, allocations: 95.72 kB / 268.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.002377, allocations: 0 / 268.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002378, allocations: 0 / 268.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.002393, allocations: 4 kB / 268.5 MB, free: 5.207 MB / 266.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.0003314/0.002725, allocations: 276.2 kB / 268.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.002758, allocations: 15.89 kB / 268.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.002785, allocations: 4.938 kB / 268.8 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.697e-05/0.002872, allocations: 117.7 kB / 268.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.002882, allocations: 384 / 268.9 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.002906, allocations: 8.375 kB / 269 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.002982, allocations: 46.25 kB / 269 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.002993, allocations: 8.109 kB / 269 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.002999, allocations: 4.312 kB / 269 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.003005, allocations: 4.375 kB / 269 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.378e-05/0.003039, allocations: 11.94 kB / 269 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.628e-05/0.003135, allocations: 76.97 kB / 269.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.003289, allocations: 42.55 kB / 269.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.003311, allocations: 17.14 kB / 269.2 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.003463, allocations: 39.89 kB / 269.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.003486, allocations: 34.56 kB / 269.2 MB, free: 4.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.003487, allocations: 0 / 269.2 MB, free: 4.422 MB / 266.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.01151/0.015, allocations: 2.983 MB / 272.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.01503, allocations: 59.41 kB / 272.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.933e-05/0.01508, allocations: 106.7 kB / 272.4 MB, free: 1.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.01511, allocations: 33.7 kB / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.01513, allocations: 84.12 kB / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.01519, allocations: 67.42 kB / 272.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.01529, allocations: 53.58 kB / 272.6 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.01536, allocations: 318.8 kB / 272.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.01551, allocations: 176 kB / 273.1 MB, free: 444 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.01565, allocations: 180.1 kB / 273.3 MB, free: 264 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.01598, allocations: 388.7 kB / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01598, allocations: 0 / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003723/0.01635, allocations: 421.5 kB / 274.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01636, allocations: 7.938 kB / 274.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01637, allocations: 7.922 kB / 274.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.956e-06/0.01638, allocations: 0 / 274.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.01671, allocations: 103.8 kB / 274.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.01671, allocations: 0 / 274.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.01682, allocations: 15.98 kB / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.01685, allocations: 11.95 kB / 274.2 MB, free: 15.31 MB / 282.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 9.697e-05/0.01695, allocations: 125.8 kB / 274.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.01699, allocations: 11.98 kB / 274.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.01759, allocations: 0.5608 MB / 274.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.0176, allocations: 0 / 274.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.0176, allocations: 4 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.0176, allocations: 3.984 kB / 274.9 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.01864, allocations: 0.6828 MB / 275.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01864, allocations: 4 kB / 275.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.01887, allocations: 87.84 kB / 275.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.01888, allocations: 7.953 kB / 275.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01889, allocations: 0 / 275.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.01891, allocations: 15.97 kB / 275.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.01891, allocations: 7.938 kB / 275.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01892, allocations: 192 / 275.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.01923, allocations: 396.5 kB / 276.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.01926, allocations: 8.25 kB / 276.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01937, allocations: 23.97 kB / 276.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.01939, allocations: 19.92 kB / 276.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.01941, allocations: 11.97 kB / 276.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.134e-05/0.01942, allocations: 12.84 kB / 276.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01942, allocations: 0 / 276.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004928/0.01991, allocations: 267.7 kB / 276.4 MB, free: 12.99 MB / 282.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.0005975/0.02051, allocations: 255.8 kB / 276.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.02086, allocations: 336.7 kB / 277 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.02086, allocations: 4 kB / 277 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.021, allocations: 144.6 kB / 277.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.02117, allocations: 39.94 kB / 277.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.02189, allocations: 417.8 kB / 277.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.02193, allocations: 67.58 kB / 277.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.02229, allocations: 185 kB / 277.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.02257, allocations: 87.27 kB / 277.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02257, allocations: 4 kB / 277.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of Templates: time 0.01619/0.03877, allocations: 17.52 MB / 295.5 MB, free: 9.773 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.71861114166677]