Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004151/0.004157, allocations: 350.9 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.726/3.726, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003414/0.003414, allocations: 213.2 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4633/0.4633, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08123, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0006176/0.0819, allocations: 260.6 kB / 0.607 GB, free: 4.406 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006813/0.0826, allocations: 345.9 kB / 0.6073 GB, free: 4.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.08265, allocations: 0 / 0.6073 GB, free: 4.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.08268, allocations: 7.938 kB / 0.6073 GB, free: 4.062 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.08272, allocations: 0 / 0.6073 GB, free: 4.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.08309, allocations: 75.8 kB / 0.6074 GB, free: 3.988 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.08315, allocations: 19.92 kB / 0.6074 GB, free: 3.969 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.08321, allocations: 4 kB / 0.6074 GB, free: 3.965 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.08324, allocations: 11.98 kB / 0.6074 GB, free: 3.953 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.0833, allocations: 19.91 kB / 0.6074 GB, free: 3.934 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.08333, allocations: 4 kB / 0.6075 GB, free: 3.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.08358, allocations: 103.9 kB / 0.6076 GB, free: 3.828 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.08361, allocations: 19.91 kB / 0.6076 GB, free: 3.809 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.08364, allocations: 25.7 kB / 0.6076 GB, free: 3.777 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.08378, allocations: 72.12 kB / 0.6077 GB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.0838, allocations: 0 / 0.6077 GB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.08381, allocations: 0 / 0.6077 GB, free: 3.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.08382, allocations: 0 / 0.6077 GB, free: 3.707 MB / 362.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.0003847/0.08421, allocations: 355.2 kB / 0.608 GB, free: 3.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.08427, allocations: 8.031 kB / 0.608 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.08431, allocations: 7.859 kB / 0.608 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.493e-05/0.0844, allocations: 178.9 kB / 0.6082 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.08443, allocations: 0 / 0.6082 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.08446, allocations: 11.94 kB / 0.6082 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.0846, allocations: 49.69 kB / 0.6082 GB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.08462, allocations: 4 kB / 0.6083 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.08464, allocations: 4 kB / 0.6083 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.08466, allocations: 0 / 0.6083 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.08475, allocations: 35.86 kB / 0.6083 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.08492, allocations: 165.6 kB / 0.6084 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.08518, allocations: 62.55 kB / 0.6085 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.08526, allocations: 28.86 kB / 0.6085 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/0.08561, allocations: 113.1 kB / 0.6086 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.08564, allocations: 34.78 kB / 0.6087 GB, free: 2.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.08565, allocations: 8 kB / 0.6087 GB, free: 2.48 MB / 362.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.3438/0.4294, allocations: 2.812 MB / 0.6114 GB, free: 89.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4295, allocations: 55.06 kB / 0.6115 GB, free: 89.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4297, allocations: 100.8 kB / 0.6116 GB, free: 89.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/0.4298, allocations: 32.3 kB / 0.6116 GB, free: 89.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.4298, allocations: 84.34 kB / 0.6117 GB, free: 89.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.43, allocations: 61.88 kB / 0.6117 GB, free: 89.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.4301, allocations: 3.406 kB / 0.6118 GB, free: 89.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.4302, allocations: 320.4 kB / 0.6121 GB, free: 89.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.4313, allocations: 192.8 kB / 0.6122 GB, free: 89.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.4325, allocations: 195 kB / 0.6124 GB, free: 89.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.434, allocations: 213.8 kB / 0.6126 GB, free: 89.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.4341, allocations: 0 / 0.6126 GB, free: 89.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.003119/0.4372, allocations: 497.8 kB / 0.6131 GB, free: 89.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.4373, allocations: 4.375 kB / 0.6131 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4374, allocations: 1.953 kB / 0.6131 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.4374, allocations: 3.906 kB / 0.6131 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4385, allocations: 79.42 kB / 0.6132 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4385, allocations: 1.094 kB / 0.6132 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.4392, allocations: 26.47 kB / 0.6132 GB, free: 89.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/0.4393, allocations: 20.58 kB / 0.6132 GB, free: 89.28 MB / 362.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.0002179/0.4395, allocations: 122.8 kB / 0.6134 GB, free: 89.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.4397, allocations: 7.562 kB / 0.6134 GB, free: 89.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.4421, allocations: 0.5729 MB / 0.6139 GB, free: 89.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4421, allocations: 0.6562 kB / 0.6139 GB, free: 89.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.4421, allocations: 4.359 kB / 0.6139 GB, free: 89.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.4422, allocations: 84.09 kB / 0.614 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/0.4423, allocations: 6.094 kB / 0.614 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.4427, allocations: 27.64 kB / 0.614 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.4427, allocations: 10.72 kB / 0.614 GB, free: 89.02 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0023/0.445, allocations: 0.5902 MB / 0.6146 GB, free: 88.91 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001898/0.447, allocations: 0.6502 MB / 0.6153 GB, free: 88.7 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007415/0.4478, allocations: 211.1 kB / 0.6155 GB, free: 88.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.173e-05/0.4478, allocations: 89.56 kB / 0.6155 GB, free: 88.62 MB / 362.7 MB Notification: Performance of Backend: time 8.51e-07/0.4478, allocations: 0 / 0.6155 GB, free: 88.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003445/0.4513, allocations: 440.1 kB / 0.616 GB, free: 88.56 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005783/0.4519, allocations: 0.6337 MB / 0.6166 GB, free: 87.94 MB / 362.7 MB Notification: Performance of Templates: time 0.03644/0.4884, allocations: 18.09 MB / 0.6343 GB, free: 81.5 MB / 362.7 MB "" Variables in the reference:time,x,y,yd,ydd,k1,k2,y2,y2d,y2dd Variables in the result:k1,k1a,k1b,k2,k2a,k2b,time,x,x_small,y,y2,y2d,y2dd,yd,ydd