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.0.0+maint.om/package.mo", uses=false) 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 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 106.4 kB / 16.64 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1958/0.1958, allocations: 43.52 MB / 314.3 MB, free: 0.707 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 61.31 kB / 382.9 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1056, allocations: 57.8 MB / 440.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0019/0.1075, allocations: 0.604 MB / 441.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006259/0.1082, allocations: 368.5 kB / 441.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1082, allocations: 0 / 441.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.1083, allocations: 3.938 kB / 441.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.1083, allocations: 0 / 441.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.1088, allocations: 92.52 kB / 441.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.1089, allocations: 27.92 kB / 441.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.109, allocations: 7.984 kB / 441.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.109, allocations: 7.938 kB / 441.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.1091, allocations: 19.91 kB / 441.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1091, allocations: 8 kB / 441.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1093, allocations: 115.9 kB / 441.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.1093, allocations: 7.984 kB / 441.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.1093, allocations: 19.86 kB / 441.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1095, allocations: 55.92 kB / 442 MB, free: 6.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1095, allocations: 4 kB / 442 MB, free: 6.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1095, allocations: 0 / 442 MB, free: 6.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1095, allocations: 0 / 442 MB, free: 6.043 MB / 318.1 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.0003539/0.1099, allocations: 359.4 kB / 442.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1099, allocations: 19.97 kB / 442.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.11, allocations: 0.9375 kB / 442.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.1101, allocations: 172.3 kB / 442.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1101, allocations: 384 / 442.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1101, allocations: 4.375 kB / 442.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1102, allocations: 50.25 kB / 442.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1102, allocations: 8.109 kB / 442.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1103, allocations: 11.94 kB / 442.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1103, allocations: 0 / 442.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.1103, allocations: 27.92 kB / 442.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1105, allocations: 165.7 kB / 442.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1107, allocations: 58.55 kB / 442.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.1107, allocations: 37 kB / 442.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.111, allocations: 105.1 kB / 443 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.111, allocations: 38.56 kB / 443 MB, free: 4.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.111, allocations: 0 / 443 MB, free: 4.824 MB / 318.1 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.03953/0.1505, allocations: 2.581 MB / 445.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1506, allocations: 59.39 kB / 445.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.1507, allocations: 97.86 kB / 445.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1507, allocations: 29.7 kB / 445.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/0.1508, allocations: 84.14 kB / 445.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/0.1508, allocations: 67.08 kB / 445.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.151, allocations: 57.69 kB / 446 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.151, allocations: 322.8 kB / 446.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.1513, allocations: 171.9 kB / 446.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.1516, allocations: 175.9 kB / 446.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/0.1525, allocations: 416.1 kB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1525, allocations: 0 / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008608/0.1534, allocations: 465.3 kB / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1534, allocations: 11.92 kB / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1534, allocations: 0 / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1534, allocations: 0 / 447.5 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1538, allocations: 67.94 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.1538, allocations: 4 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.154, allocations: 19.98 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.1541, allocations: 15.98 kB / 447.6 MB, free: 136 kB / 318.1 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.0001269/0.1542, allocations: 129.7 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1542, allocations: 7.906 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.1555, allocations: 0.5329 MB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1555, allocations: 11.94 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1556, allocations: 0 / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1556, allocations: 3.984 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.1577, allocations: 0.8851 MB / 449.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1577, allocations: 0 / 449.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.158, allocations: 68.19 kB / 449.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1581, allocations: 3.938 kB / 449.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.1581, allocations: 23.98 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1581, allocations: 4 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1581, allocations: 0 / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.159, allocations: 471.9 kB / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1591, allocations: 85.02 kB / 449.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.1592, allocations: 4 kB / 449.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1594, allocations: 19.97 kB / 449.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.1594, allocations: 19.98 kB / 449.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.1595, allocations: 15.98 kB / 449.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.421e-05/0.1595, allocations: 79.28 kB / 450 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1595, allocations: 0 / 450 MB, free: 13.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009382/0.1605, allocations: 324.2 kB / 450.3 MB, free: 13.33 MB / 334.1 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.001416/0.1619, allocations: 243 kB / 450.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.1627, allocations: 343.7 kB / 450.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1627, allocations: 3.938 kB / 450.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.1631, allocations: 148.2 kB / 451 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1634, allocations: 15.94 kB / 451 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1647, allocations: 476 kB / 451.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1651, allocations: 0.7004 MB / 452.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.1653, allocations: 51.39 kB / 452.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1653, allocations: 0 / 452.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of Templates: time 0.01128/0.1766, allocations: 6.54 MB / 458.8 MB, free: 4.746 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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