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.00136/0.00136, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001657/0.001657, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 18.57 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.8371/0.8371, allocations: 158.6 MB / 185.7 MB, free: 2.906 MB / 170.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.1251/0.1251, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.153e-06/1.153e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.386e-05, allocations: 14.25 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0009229/0.0009368, allocations: 0.5493 MB / 348.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.001386, allocations: 354.5 kB / 348.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.001405, allocations: 0 / 348.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.00142, allocations: 3.938 kB / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.001443, allocations: 4 kB / 348.6 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.001733, allocations: 111.6 kB / 348.7 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.182e-05/0.001775, allocations: 27.91 kB / 348.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.001805, allocations: 3.938 kB / 348.7 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.001833, allocations: 15.98 kB / 348.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.001876, allocations: 7.984 kB / 348.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.001889, allocations: 4 kB / 348.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.002044, allocations: 107.9 kB / 348.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.002059, allocations: 15.94 kB / 348.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.002078, allocations: 7.984 kB / 348.9 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.002214, allocations: 123.6 kB / 349 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002215, allocations: 0 / 349 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.002216, allocations: 0 / 349 MB, free: 8.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.00222, allocations: 0 / 349 MB, free: 8.137 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.0002309/0.002451, allocations: 388.3 kB / 349.4 MB, free: 7.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.002482, allocations: 8.031 kB / 349.4 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.002506, allocations: 12.88 kB / 349.4 MB, free: 7.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.916e-05/0.002555, allocations: 116.5 kB / 349.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.002565, allocations: 8.375 kB / 349.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.002584, allocations: 4.375 kB / 349.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.659e-05/0.002661, allocations: 46.25 kB / 349.5 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.00267, allocations: 4.172 kB / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.002679, allocations: 4.375 kB / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.002685, allocations: 4.375 kB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.002729, allocations: 19.92 kB / 349.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.101e-05/0.00282, allocations: 128.5 kB / 349.7 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.002941, allocations: 59.03 kB / 349.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.002967, allocations: 23.67 kB / 349.8 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.003094, allocations: 31.97 kB / 349.8 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.003107, allocations: 37.67 kB / 349.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 7.92e-07/0.003108, allocations: 0 / 349.9 MB, free: 7.129 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.01763/0.02074, allocations: 2.406 MB / 352.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.02075, allocations: 55.41 kB / 352.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.185e-05/0.0208, allocations: 161.9 kB / 352.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.02081, allocations: 29.7 kB / 352.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.02083, allocations: 134.9 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.02088, allocations: 67.42 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.02095, allocations: 59.34 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.021, allocations: 0.4884 MB / 353.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.02113, allocations: 155.9 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.02126, allocations: 143 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.02164, allocations: 359.9 kB / 353.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.02164, allocations: 4 kB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004124/0.02205, allocations: 416.7 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.02206, allocations: 10.66 kB / 354.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.02207, allocations: 0 / 354.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.02208, allocations: 0 / 354.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.02226, allocations: 71.88 kB / 354.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.02227, allocations: 4 kB / 354.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.02236, allocations: 23.97 kB / 354.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.02238, allocations: 19.98 kB / 354.4 MB, free: 2.449 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 6.042e-05/0.02244, allocations: 160.6 kB / 354.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.02247, allocations: 23.81 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/0.023, allocations: 497.8 kB / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.023, allocations: 4 kB / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.02301, allocations: 0 / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.02301, allocations: 0 / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008951/0.02391, allocations: 0.8001 MB / 355.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.02391, allocations: 0 / 355.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.02404, allocations: 67.89 kB / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.02404, allocations: 8.188 kB / 356 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.02406, allocations: 11.98 kB / 356 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.02406, allocations: 4 kB / 356 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02406, allocations: 7.938 kB / 356 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.02441, allocations: 469.8 kB / 356.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.02442, allocations: 7.953 kB / 356.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.02444, allocations: 8 kB / 356.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.02453, allocations: 15.98 kB / 356.5 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.02455, allocations: 23.91 kB / 356.5 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.02456, allocations: 19.98 kB / 356.5 MB, free: 224 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.684e-05/0.02458, allocations: 135.1 kB / 356.7 MB, free: 88 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02458, allocations: 0 / 356.7 MB, free: 88 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006007/0.02518, allocations: 315.6 kB / 357 MB, free: 15.78 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.0009526/0.02613, allocations: 258.7 kB / 357.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.02649, allocations: 298.9 kB / 357.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02649, allocations: 0 / 357.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.02662, allocations: 126.1 kB / 357.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.02682, allocations: 31.98 kB / 357.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.02747, allocations: 416.2 kB / 358.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.02751, allocations: 67.53 kB / 358.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.02768, allocations: 97.03 kB / 358.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.02781, allocations: 52.47 kB / 358.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02781, allocations: 0 / 358.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of Templates: time 0.01624/0.04405, allocations: 18.71 MB / 377 MB, free: 11.59 MB / 314.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 -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: 3.1683429102413356]