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.001064/0.001065, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001175/0.001175, allocations: 192.6 kB / 16.14 MB, free: 6.703 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.34/1.34, allocations: 205.1 MB / 222 MB, free: 4.941 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2876/0.2876, allocations: 37.98 MB / 307.3 MB, free: 9.785 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.001305/0.001305, allocations: 66.41 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 56.47 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001644/0.1037, allocations: 0.6025 MB / 431.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006597/0.1044, allocations: 396.3 kB / 432 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.1044, allocations: 0 / 432 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.1045, allocations: 0 / 432 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.1045, allocations: 0 / 432 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1048, allocations: 75.73 kB / 432.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.1049, allocations: 27.92 kB / 432.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.1049, allocations: 7.984 kB / 432.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1049, allocations: 7.938 kB / 432.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.105, allocations: 19.92 kB / 432.1 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.105, allocations: 4 kB / 432.1 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.1052, allocations: 119.9 kB / 432.3 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1052, allocations: 7.984 kB / 432.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.1052, allocations: 15.88 kB / 432.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1054, allocations: 96.08 kB / 432.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1054, allocations: 0 / 432.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1054, allocations: 0 / 432.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1054, allocations: 0 / 432.4 MB, free: 5.723 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.0003687/0.1058, allocations: 371.4 kB / 432.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1058, allocations: 12.03 kB / 432.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.1059, allocations: 4.844 kB / 432.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.106, allocations: 168.3 kB / 432.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.106, allocations: 384 / 432.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.106, allocations: 12.31 kB / 432.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1061, allocations: 54.23 kB / 433 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1062, allocations: 4.172 kB / 433 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1062, allocations: 7.938 kB / 433 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1062, allocations: 0 / 433 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.1062, allocations: 31.92 kB / 433 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.1064, allocations: 173.5 kB / 433.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1066, allocations: 54.56 kB / 433.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.1067, allocations: 28.84 kB / 433.3 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.1069, allocations: 105.1 kB / 433.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.107, allocations: 38.56 kB / 433.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.083e-06/0.107, allocations: 4 kB / 433.4 MB, free: 4.492 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.04297/0.15, allocations: 2.572 MB / 436 MB, free: 1.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.15, allocations: 59.34 kB / 436.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.1501, allocations: 98.12 kB / 436.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.1502, allocations: 33.64 kB / 436.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.1502, allocations: 84.14 kB / 436.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1503, allocations: 66.95 kB / 436.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.1505, allocations: 61.69 kB / 436.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1506, allocations: 322.8 kB / 436.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.151, allocations: 175.9 kB / 436.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.1514, allocations: 167.9 kB / 437 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1525, allocations: 420.3 kB / 437.5 MB, free: 388 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1525, allocations: 0 / 437.5 MB, free: 388 kB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001037/0.1535, allocations: 461.4 kB / 437.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1535, allocations: 4 kB / 437.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1536, allocations: 0 / 437.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1536, allocations: 0 / 437.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.154, allocations: 71.88 kB / 438 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.154, allocations: 4 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1542, allocations: 19.97 kB / 438 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.1543, allocations: 19.98 kB / 438 MB, free: 15.8 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.0001216/0.1544, allocations: 125.7 kB / 438.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.1545, allocations: 7.906 kB / 438.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.1557, allocations: 0.5446 MB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1557, allocations: 0 / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1557, allocations: 0 / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1557, allocations: 3.984 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.1579, allocations: 0.8968 MB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1579, allocations: 0 / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.1582, allocations: 71.89 kB / 439.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.1582, allocations: 4 kB / 439.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.1582, allocations: 16.17 kB / 439.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1582, allocations: 8 kB / 439.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1582, allocations: 0 / 439.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.1591, allocations: 468.4 kB / 440.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.1592, allocations: 89 kB / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.1592, allocations: 8 kB / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1594, allocations: 15.98 kB / 440.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.1594, allocations: 19.92 kB / 440.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.1595, allocations: 19.98 kB / 440.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.088e-05/0.1595, allocations: 83.28 kB / 440.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1595, allocations: 0 / 440.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008332/0.1604, allocations: 312 kB / 440.7 MB, free: 12.99 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.001328/0.1617, allocations: 235 kB / 440.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.1625, allocations: 346.9 kB / 441.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1626, allocations: 0 / 441.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.1629, allocations: 140.2 kB / 441.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.1632, allocations: 23.92 kB / 441.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1645, allocations: 448 kB / 441.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1647, allocations: 0.6968 MB / 442.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.1651, allocations: 88.89 kB / 442.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1653, allocations: 51.39 kB / 442.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1653, allocations: 4 kB / 442.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Templates: time 0.1739/0.3392, allocations: 17.57 MB / 460.3 MB, free: 48.89 MB / 382.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)