Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007724/0.007724, allocations: 102.5 kB / 15.73 MB, free: 6.055 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.001812/0.001812, allocations: 189.2 kB / 16.67 MB, free: 5.973 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.167/0.167, allocations: 38 MB / 307.9 MB, free: 5.977 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 64.28 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.09344, allocations: 56.47 MB / 489.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001672/0.09516, allocations: 0.5438 MB / 490 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.09588, allocations: 367 kB / 490.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.09593, allocations: 0 / 490.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.09595, allocations: 0 / 490.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.09599, allocations: 3.938 kB / 490.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.09644, allocations: 119.6 kB / 490.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.09651, allocations: 19.98 kB / 490.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.09656, allocations: 4 kB / 490.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.09659, allocations: 11.88 kB / 490.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.09665, allocations: 19.91 kB / 490.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.09667, allocations: 7.938 kB / 490.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.09687, allocations: 115.9 kB / 490.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.0969, allocations: 15.92 kB / 490.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.09694, allocations: 19.86 kB / 490.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.09711, allocations: 91.81 kB / 490.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.09712, allocations: 4 kB / 490.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09713, allocations: 0 / 490.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.09714, allocations: 0 / 490.8 MB, free: 4.559 MB / 366.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.0004434/0.09759, allocations: 359.4 kB / 491.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.09764, allocations: 15.89 kB / 491.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.09768, allocations: 4.844 kB / 491.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.09779, allocations: 164.4 kB / 491.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.09781, allocations: 4.375 kB / 491.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.09784, allocations: 8.375 kB / 491.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.09796, allocations: 58.17 kB / 491.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.09798, allocations: 192 / 491.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.09799, allocations: 7.938 kB / 491.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.098, allocations: 0 / 491.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.37e-05/0.09807, allocations: 23.98 kB / 491.4 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.09826, allocations: 177.5 kB / 491.6 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.09846, allocations: 58.59 kB / 491.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.09852, allocations: 28.84 kB / 491.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.09878, allocations: 109 kB / 491.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.09881, allocations: 34.56 kB / 491.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.09882, allocations: 0 / 491.8 MB, free: 3.344 MB / 366.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.04257/0.1414, allocations: 2.589 MB / 494.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1415, allocations: 55.41 kB / 494.4 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.1415, allocations: 105.8 kB / 494.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.1416, allocations: 33.7 kB / 494.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.1416, allocations: 80.14 kB / 494.7 MB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.1417, allocations: 67.09 kB / 494.7 MB, free: 360 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1418, allocations: 53.69 kB / 494.8 MB, free: 300 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.142, allocations: 322.8 kB / 495.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.1424, allocations: 179.9 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.1427, allocations: 167.9 kB / 495.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.1437, allocations: 424.6 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1438, allocations: 0 / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001044/0.1448, allocations: 460.8 kB / 496.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1448, allocations: 4 kB / 496.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1448, allocations: 0 / 496.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1449, allocations: 8 kB / 496.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.1452, allocations: 67.88 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1453, allocations: 4.469 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.1455, allocations: 19.91 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.1455, allocations: 19.98 kB / 496.4 MB, free: 14.64 MB / 382.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.0001214/0.1457, allocations: 121.7 kB / 496.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.1457, allocations: 11.91 kB / 496.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.147, allocations: 0.5446 MB / 497.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.147, allocations: 0 / 497.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.147, allocations: 0 / 497.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.147, allocations: 3.984 kB / 497.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.1492, allocations: 0.8889 MB / 498 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1492, allocations: 0 / 498 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.1495, allocations: 71.89 kB / 498.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1495, allocations: 4.188 kB / 498.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.1495, allocations: 15.98 kB / 498.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1495, allocations: 4 kB / 498.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1496, allocations: 0 / 498.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/0.1505, allocations: 468.2 kB / 498.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1505, allocations: 89 kB / 498.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1505, allocations: 8.25 kB / 498.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1508, allocations: 23.98 kB / 498.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.1508, allocations: 11.98 kB / 498.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.1508, allocations: 19.98 kB / 498.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.1509, allocations: 83.28 kB / 498.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1509, allocations: 0 / 498.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.1517, allocations: 312 kB / 499.1 MB, free: 11.83 MB / 382.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.001265/0.153, allocations: 243 kB / 499.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008186/0.1538, allocations: 339.7 kB / 499.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1539, allocations: 0 / 499.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.1543, allocations: 155.7 kB / 499.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1546, allocations: 15.42 kB / 499.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1557, allocations: 410.7 kB / 0.4885 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.156, allocations: 0.6965 MB / 0.4892 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.1562, allocations: 92.89 kB / 0.4893 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.1564, allocations: 51.39 kB / 0.4893 GB, free: 9.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1564, allocations: 0 / 0.4893 GB, free: 9.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02313/0.1796, allocations: 17.92 MB / 0.5068 GB, free: 7.777 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1)