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.0008374/0.0008374, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009633/0.0009633, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9181/0.9181, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 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.226/0.226, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 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.082e-06/1.082e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.162e-05, allocations: 2.312 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009145/0.0009261, allocations: 0.5511 MB / 376.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004379/0.001364, allocations: 354.5 kB / 376.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.001383, allocations: 0 / 376.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.001395, allocations: 3.938 kB / 376.9 MB, free: 4.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.981e-05/0.001415, allocations: 0 / 376.9 MB, free: 4.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.001703, allocations: 111.5 kB / 377 MB, free: 3.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.001746, allocations: 19.98 kB / 377 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.971e-05/0.001776, allocations: 7.984 kB / 377 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.001804, allocations: 19.92 kB / 377 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.00185, allocations: 11.97 kB / 377 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.001866, allocations: 4 kB / 377.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.002014, allocations: 111.9 kB / 377.2 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.002024, allocations: 3.938 kB / 377.2 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.00204, allocations: 7.984 kB / 377.2 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.002174, allocations: 123.6 kB / 377.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002175, allocations: 0 / 377.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002176, allocations: 0 / 377.3 MB, free: 3.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.002179, allocations: 0 / 377.3 MB, free: 3.68 MB / 346.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.0002542/0.002433, allocations: 392.3 kB / 377.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.002459, allocations: 8.031 kB / 377.7 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.002484, allocations: 8.891 kB / 377.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.645e-05/0.002551, allocations: 120.5 kB / 377.8 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.002558, allocations: 384 / 377.8 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.002574, allocations: 4.375 kB / 377.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.753e-05/0.002641, allocations: 54.23 kB / 377.9 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.002649, allocations: 4.141 kB / 377.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.002656, allocations: 384 / 377.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.002661, allocations: 4.375 kB / 377.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.002698, allocations: 27.86 kB / 377.9 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.0028, allocations: 124.6 kB / 378 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.002929, allocations: 55.05 kB / 378.1 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.002958, allocations: 23.67 kB / 378.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.003085, allocations: 31.95 kB / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.003104, allocations: 41.61 kB / 378.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 7.92e-07/0.003105, allocations: 0 / 378.2 MB, free: 2.668 MB / 346.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.01703/0.02013, allocations: 2.412 MB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.02016, allocations: 55.41 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.02023, allocations: 161.9 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.02025, allocations: 29.7 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.02028, allocations: 134.8 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.02033, allocations: 63.44 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.02041, allocations: 71.33 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.02051, allocations: 496.1 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.02066, allocations: 148.2 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.02082, allocations: 143.9 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.02127, allocations: 366 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.02128, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004804/0.02176, allocations: 409.5 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.02177, allocations: 8.625 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.02177, allocations: 0 / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.02178, allocations: 0 / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.02196, allocations: 75.88 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.02197, allocations: 4 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.02205, allocations: 15.98 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.02207, allocations: 23.97 kB / 382.7 MB, free: 13.99 MB / 362.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 7.92e-05/0.02215, allocations: 164.5 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.02219, allocations: 19.88 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005842/0.02278, allocations: 495.2 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02278, allocations: 4 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.02278, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02279, allocations: 7.984 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009803/0.02377, allocations: 0.7806 MB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.02377, allocations: 4.031 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.0239, allocations: 71.88 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.02391, allocations: 4 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.02392, allocations: 15.98 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02393, allocations: 4 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.02393, allocations: 7.938 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.02434, allocations: 464.7 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.02435, allocations: 7.953 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.02438, allocations: 12 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.02447, allocations: 19.97 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.02449, allocations: 23.86 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.02451, allocations: 19.98 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.02454, allocations: 131.2 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02454, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005784/0.02512, allocations: 311.6 kB / 385.3 MB, free: 11.34 MB / 362.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.0008657/0.02599, allocations: 262.7 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.02633, allocations: 301.3 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02633, allocations: 0 / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.02645, allocations: 119.6 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.02664, allocations: 31.98 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.02726, allocations: 419.5 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.0273, allocations: 67.58 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.02747, allocations: 96.91 kB / 386.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.02759, allocations: 52.47 kB / 386.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02759, allocations: 0 / 386.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of Templates: time 0.01517/0.04276, allocations: 18.72 MB / 405.3 MB, free: 7.203 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.054988828022033]