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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 179.1 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007986/0.0007987, allocations: 100.7 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3224/0.3224, allocations: 44.14 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 15.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3068, allocations: 61.88 MB / 0.5107 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.4157, allocations: 85.45 MB / 0.5942 GB, free: 9.625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.4159, allocations: 71.94 kB / 0.5942 GB, free: 9.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004886/0.4208, allocations: 1.794 MB / 0.596 GB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4208, allocations: 0 / 0.596 GB, free: 7.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.4208, allocations: 4 kB / 0.596 GB, free: 7.758 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.0003548/0.4212, allocations: 363.4 kB / 0.5963 GB, free: 7.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4213, allocations: 12.03 kB / 0.5964 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.4213, allocations: 4.844 kB / 0.5964 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.4214, allocations: 172.3 kB / 0.5965 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4214, allocations: 4.375 kB / 0.5965 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4215, allocations: 4.375 kB / 0.5965 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.4216, allocations: 54.19 kB / 0.5966 GB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4216, allocations: 8.094 kB / 0.5966 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4216, allocations: 7.938 kB / 0.5966 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4216, allocations: 0 / 0.5966 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.4217, allocations: 31.97 kB / 0.5966 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.4219, allocations: 161.7 kB / 0.5968 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.4221, allocations: 62.58 kB / 0.5968 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.4222, allocations: 20.86 kB / 0.5969 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.4224, allocations: 113.1 kB / 0.597 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4224, allocations: 34.56 kB / 0.597 GB, free: 6.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.4224, allocations: 0 / 0.597 GB, free: 6.543 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.0348/0.4572, allocations: 2.819 MB / 0.5998 GB, free: 3.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.4573, allocations: 59.36 kB / 0.5998 GB, free: 3.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.4574, allocations: 97.84 kB / 0.5999 GB, free: 3.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.4575, allocations: 30.17 kB / 0.5999 GB, free: 3.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.4575, allocations: 84.14 kB / 0.6 GB, free: 3.395 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.4576, allocations: 66.94 kB / 0.6001 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.4576, allocations: 12 kB / 0.6001 GB, free: 3.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4577, allocations: 322.8 kB / 0.6004 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.4581, allocations: 195.8 kB / 0.6006 GB, free: 2.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.4585, allocations: 186.1 kB / 0.6008 GB, free: 2.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.4595, allocations: 444.7 kB / 0.6012 GB, free: 2.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4595, allocations: 0 / 0.6012 GB, free: 2.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001008/0.4605, allocations: 499.1 kB / 0.6017 GB, free: 1.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4605, allocations: 4 kB / 0.6017 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4605, allocations: 0 / 0.6017 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4606, allocations: 4 kB / 0.6017 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.4609, allocations: 83.86 kB / 0.6018 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4609, allocations: 7.984 kB / 0.6018 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4612, allocations: 23.97 kB / 0.6018 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.4612, allocations: 16 kB / 0.6018 GB, free: 1.555 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.4614, allocations: 125.7 kB / 0.6019 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.4614, allocations: 11.91 kB / 0.6019 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.4627, allocations: 0.5666 MB / 0.6025 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4627, allocations: 4 kB / 0.6025 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4627, allocations: 0 / 0.6025 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4627, allocations: 3.984 kB / 0.6025 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.4648, allocations: 0.9387 MB / 0.6034 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4649, allocations: 4.25 kB / 0.6034 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.4652, allocations: 84.08 kB / 0.6035 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.4652, allocations: 4 kB / 0.6035 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.4652, allocations: 15.98 kB / 0.6035 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4652, allocations: 0 / 0.6035 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4653, allocations: 4 kB / 0.6035 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.4662, allocations: 496.2 kB / 0.604 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.4662, allocations: 85.02 kB / 0.6041 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4663, allocations: 11.98 kB / 0.6041 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4665, allocations: 23.98 kB / 0.6041 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.4665, allocations: 19.92 kB / 0.6041 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.4665, allocations: 19.98 kB / 0.6041 GB, free: 15.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.963e-05/0.4666, allocations: 79.28 kB / 0.6042 GB, free: 14.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4666, allocations: 4 kB / 0.6042 GB, free: 14.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009057/0.4675, allocations: 343.7 kB / 0.6045 GB, free: 14.61 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/0.4689, allocations: 275.3 kB / 0.6048 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.4697, allocations: 372.7 kB / 0.6052 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4697, allocations: 3.938 kB / 0.6052 GB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.47, allocations: 160.2 kB / 0.6053 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.4703, allocations: 8 kB / 0.6053 GB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.4716, allocations: 492.5 kB / 0.6058 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.4718, allocations: 0.7007 MB / 0.6065 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.4722, allocations: 96.81 kB / 0.6066 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.4724, allocations: 47.41 kB / 0.6066 GB, free: 12.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.9e-07/0.4724, allocations: 0 / 0.6066 GB, free: 12.39 MB / 426.7 MB Notification: Performance of Templates: time 0.02363/0.4961, allocations: 17.34 MB / 0.6236 GB, free: 11.09 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches