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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 96.92 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2901/0.2901, allocations: 43.5 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009928/0.0009929, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0902/0.09121, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001728/0.09297, allocations: 0.6009 MB / 487.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006337/0.09363, allocations: 389.6 kB / 488 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.09366, allocations: 0 / 488 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.09369, allocations: 7.875 kB / 488 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.659e-05/0.09373, allocations: 0 / 488 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.09403, allocations: 79.78 kB / 488.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.09408, allocations: 23.98 kB / 488.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.09413, allocations: 4 kB / 488.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.09415, allocations: 11.92 kB / 488.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.09421, allocations: 23.91 kB / 488.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.09422, allocations: 0 / 488.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.09443, allocations: 115.9 kB / 488.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.09445, allocations: 15.91 kB / 488.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.09448, allocations: 11.94 kB / 488.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.09463, allocations: 88.09 kB / 488.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09465, allocations: 4 kB / 488.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.09465, allocations: 0 / 488.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.896e-06/0.09466, allocations: 0 / 488.4 MB, free: 11.19 MB / 378.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.0003734/0.09504, allocations: 379.2 kB / 488.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.09508, allocations: 8.031 kB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.09511, allocations: 0.9375 kB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.09521, allocations: 180.2 kB / 488.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.09523, allocations: 384 / 488.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.09525, allocations: 8.375 kB / 488.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.09536, allocations: 50.25 kB / 489 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.09538, allocations: 8.188 kB / 489 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.0954, allocations: 7.922 kB / 489 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.09541, allocations: 0 / 489 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.09547, allocations: 31.91 kB / 489 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.09562, allocations: 165.7 kB / 489.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.09582, allocations: 58.55 kB / 489.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.09587, allocations: 28.86 kB / 489.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.0961, allocations: 105.3 kB / 489.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.09613, allocations: 38.5 kB / 489.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.09613, allocations: 0 / 489.4 MB, free: 9.961 MB / 378.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.04192/0.1381, allocations: 2.571 MB / 492 MB, free: 7.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.1381, allocations: 55.41 kB / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.1382, allocations: 101.8 kB / 492.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1382, allocations: 37.7 kB / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.1383, allocations: 84.12 kB / 492.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.1383, allocations: 59.11 kB / 492.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.1384, allocations: 61.67 kB / 492.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.1385, allocations: 318.8 kB / 492.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.1389, allocations: 171.9 kB / 492.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.1393, allocations: 179.9 kB / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.1402, allocations: 412.1 kB / 493.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1402, allocations: 4.25 kB / 493.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009721/0.1412, allocations: 461.3 kB / 493.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1412, allocations: 4 kB / 493.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1412, allocations: 4 kB / 493.9 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1412, allocations: 4 kB / 493.9 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.1416, allocations: 71.94 kB / 494 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1416, allocations: 4 kB / 494 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1418, allocations: 15.97 kB / 494 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.1418, allocations: 19.98 kB / 494 MB, free: 5.273 MB / 378.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 0.0001066/0.142, allocations: 121.7 kB / 494.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.142, allocations: 7.906 kB / 494.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.1432, allocations: 0.5408 MB / 494.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1432, allocations: 0 / 494.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1432, allocations: 0 / 494.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1432, allocations: 0 / 494.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.1452, allocations: 0.8967 MB / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1452, allocations: 480 / 495.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.1455, allocations: 72.06 kB / 495.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1455, allocations: 8 kB / 495.7 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.1456, allocations: 12 kB / 495.7 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1456, allocations: 11.92 kB / 495.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1456, allocations: 3.938 kB / 495.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.1469, allocations: 1.132 MB / 496.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.147, allocations: 85.02 kB / 496.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.147, allocations: 8 kB / 496.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1472, allocations: 15.98 kB / 496.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1472, allocations: 27.84 kB / 496.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.1473, allocations: 16 kB / 497 MB, free: 2.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.1473, allocations: 87.27 kB / 497.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1473, allocations: 0 / 497.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008249/0.1482, allocations: 312 kB / 497.4 MB, free: 1.742 MB / 378.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.001276/0.1494, allocations: 239 kB / 497.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007281/0.1502, allocations: 347.1 kB / 497.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1502, allocations: 0 / 497.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.1505, allocations: 151.8 kB / 498.1 MB, free: 1.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1508, allocations: 12.38 kB / 498.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.152, allocations: 0.5887 MB / 498.7 MB, free: 364 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.1522, allocations: 0.7007 MB / 499.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003426/0.1526, allocations: 92.88 kB / 499.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1527, allocations: 47.41 kB / 499.5 MB, free: 15.49 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.1527, allocations: 0 / 499.5 MB, free: 15.49 MB / 394.7 MB Notification: Performance of Templates: time 0.1623/0.3151, allocations: 17.77 MB / 0.5052 GB, free: 60.93 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches