Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001295/0.001295, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001081/0.001081, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3189/0.3189, allocations: 39.99 MB / 310.4 MB, free: 9.941 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.2. 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.0005078/0.0005079, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 57.95 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0006891/0.1181, allocations: 264.4 kB / 437 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.1188, allocations: 346.3 kB / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.1189, allocations: 0 / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.1189, allocations: 0 / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.112e-05/0.119, allocations: 0 / 437.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.1194, allocations: 75.73 kB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.1195, allocations: 19.98 kB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.1195, allocations: 4 kB / 437.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.1196, allocations: 15.92 kB / 437.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.1196, allocations: 19.91 kB / 437.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1197, allocations: 0 / 437.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.1199, allocations: 103.9 kB / 437.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1199, allocations: 7.984 kB / 437.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.12, allocations: 29.7 kB / 437.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1201, allocations: 60.19 kB / 437.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1201, allocations: 0 / 437.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1201, allocations: 7.938 kB / 437.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1201, allocations: 0 / 437.7 MB, free: 1.656 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.0004198/0.1206, allocations: 355.2 kB / 438 MB, free: 1.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1206, allocations: 8.031 kB / 438 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1206, allocations: 11.91 kB / 438.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1208, allocations: 167 kB / 438.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.1208, allocations: 8 kB / 438.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1209, allocations: 11.92 kB / 438.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.121, allocations: 61.55 kB / 438.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.121, allocations: 4 kB / 438.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.121, allocations: 0 / 438.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.121, allocations: 0 / 438.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1211, allocations: 27.98 kB / 438.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1213, allocations: 177.5 kB / 438.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1215, allocations: 58.58 kB / 438.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.1218, allocations: 113.1 kB / 438.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1219, allocations: 34.56 kB / 438.7 MB, free: 472 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1219, allocations: 0 / 438.7 MB, free: 472 kB / 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.04153/0.1634, allocations: 2.825 MB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.1635, allocations: 59.39 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.1636, allocations: 97.86 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.1637, allocations: 25.7 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1637, allocations: 88.14 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.29e-05/0.1638, allocations: 67 kB / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1638, allocations: 7.938 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.164, allocations: 318.8 kB / 442.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.1644, allocations: 191.9 kB / 442.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.1648, allocations: 195.9 kB / 442.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.1653, allocations: 211.9 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1653, allocations: 0 / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001057/0.1664, allocations: 0.4888 MB / 443.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1664, allocations: 4 kB / 443.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1664, allocations: 0 / 443.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1665, allocations: 4 kB / 443.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.1668, allocations: 75.94 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1669, allocations: 0 / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.1671, allocations: 36.17 kB / 443.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.1671, allocations: 16 kB / 443.4 MB, free: 11.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1673, allocations: 125.8 kB / 443.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1673, allocations: 8 kB / 443.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1686, allocations: 0.5721 MB / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1686, allocations: 0 / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1687, allocations: 0 / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1687, allocations: 0 / 444.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.171, allocations: 0.9594 MB / 445 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.171, allocations: 7.938 kB / 445.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.1713, allocations: 71.95 kB / 445.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1713, allocations: 0 / 445.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.1714, allocations: 16.17 kB / 445.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1714, allocations: 11.94 kB / 445.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1714, allocations: 0 / 445.2 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1724, allocations: 0.5495 MB / 445.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.1725, allocations: 89 kB / 445.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.1725, allocations: 15.89 kB / 445.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1728, allocations: 24.39 kB / 445.8 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1728, allocations: 19.98 kB / 445.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.1728, allocations: 15.98 kB / 445.9 MB, free: 9.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.825e-05/0.1729, allocations: 79.28 kB / 445.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1729, allocations: 0 / 445.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009733/0.1739, allocations: 323.9 kB / 446.3 MB, free: 8.641 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 (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.001313/0.1752, allocations: 231 kB / 446.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008878/0.1761, allocations: 375.1 kB / 446.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1761, allocations: 0 / 446.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.1765, allocations: 168.2 kB / 447 MB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.1767, allocations: 8 kB / 447 MB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.178, allocations: 476.4 kB / 447.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1783, allocations: 0.7045 MB / 448.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.1787, allocations: 97.06 kB / 448.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1789, allocations: 47.41 kB / 448.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1789, allocations: 4 kB / 448.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of Templates: time 0.1902/0.3691, allocations: 17.45 MB / 465.8 MB, free: 45.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) Environment - environmentSimulation: