Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002713/0.002713, allocations: 369.9 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.554/3.554, allocations: 388.9 MB / 405.6 MB, free: 47.95 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003483/0.003483, allocations: 236.6 kB / 451 MB, free: 2.426 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7239/0.7239, allocations: 80.01 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004801, allocations: 15.94 kB / 0.6265 GB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.89 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0007359/0.1156, allocations: 260.5 kB / 0.6804 GB, free: 13.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.1164, allocations: 346 kB / 0.6807 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.1165, allocations: 4 kB / 0.6807 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.1165, allocations: 4 kB / 0.6807 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.123e-05/0.1165, allocations: 0 / 0.6807 GB, free: 12.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.117, allocations: 75.8 kB / 0.6808 GB, free: 12.85 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.117, allocations: 19.92 kB / 0.6808 GB, free: 12.83 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1171, allocations: 4 kB / 0.6808 GB, free: 12.83 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.1171, allocations: 15.92 kB / 0.6808 GB, free: 12.81 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.1172, allocations: 19.91 kB / 0.6808 GB, free: 12.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1172, allocations: 8 kB / 0.6808 GB, free: 12.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.1175, allocations: 103.9 kB / 0.6809 GB, free: 12.68 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1176, allocations: 7.984 kB / 0.6809 GB, free: 12.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.1176, allocations: 25.7 kB / 0.681 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1178, allocations: 72.11 kB / 0.681 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1178, allocations: 0 / 0.681 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1178, allocations: 0 / 0.681 GB, free: 12.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1178, allocations: 0 / 0.681 GB, free: 12.57 MB / 394.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.0004477/0.1183, allocations: 359.1 kB / 0.6814 GB, free: 12.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1183, allocations: 11.97 kB / 0.6814 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.1184, allocations: 11.91 kB / 0.6814 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1185, allocations: 167 kB / 0.6816 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1185, allocations: 0 / 0.6816 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1186, allocations: 8 kB / 0.6816 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1187, allocations: 49.64 kB / 0.6816 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1188, allocations: 7.938 kB / 0.6816 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1188, allocations: 4 kB / 0.6816 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1188, allocations: 3.984 kB / 0.6816 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.1189, allocations: 23.98 kB / 0.6817 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.1191, allocations: 169.6 kB / 0.6818 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.1194, allocations: 58.83 kB / 0.6819 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.1195, allocations: 28.8 kB / 0.6819 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003961/0.1199, allocations: 117.1 kB / 0.682 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1199, allocations: 38.52 kB / 0.682 GB, free: 11.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1199, allocations: 0 / 0.682 GB, free: 11.36 MB / 394.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.0811/0.2011, allocations: 2.823 MB / 0.6848 GB, free: 8.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.2011, allocations: 51.41 kB / 0.6849 GB, free: 8.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.2012, allocations: 109.8 kB / 0.685 GB, free: 8.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.2013, allocations: 25.7 kB / 0.685 GB, free: 8.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2014, allocations: 84.14 kB / 0.6851 GB, free: 8.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.2015, allocations: 63.09 kB / 0.6851 GB, free: 8.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.2015, allocations: 4 kB / 0.6851 GB, free: 8.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2017, allocations: 318.8 kB / 0.6854 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/0.2024, allocations: 191.9 kB / 0.6856 GB, free: 7.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007227/0.2031, allocations: 191.9 kB / 0.6858 GB, free: 7.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.2041, allocations: 220.3 kB / 0.686 GB, free: 7.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2041, allocations: 0 / 0.686 GB, free: 7.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001857/0.206, allocations: 0.4895 MB / 0.6865 GB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.206, allocations: 4 kB / 0.6865 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.206, allocations: 0 / 0.6865 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.206, allocations: 0 / 0.6865 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.2067, allocations: 79.94 kB / 0.6866 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2068, allocations: 0 / 0.6866 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.2072, allocations: 23.98 kB / 0.6866 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.2072, allocations: 15.98 kB / 0.6866 GB, free: 6.59 MB / 394.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.00016/0.2074, allocations: 125.8 kB / 0.6867 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.2075, allocations: 15.84 kB / 0.6867 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.2097, allocations: 0.5605 MB / 0.6873 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.2098, allocations: 3.953 kB / 0.6873 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2098, allocations: 0 / 0.6873 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.2098, allocations: 85 kB / 0.6874 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.2099, allocations: 15.94 kB / 0.6874 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.2103, allocations: 19.98 kB / 0.6874 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.2104, allocations: 16.39 kB / 0.6874 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002302/0.2127, allocations: 0.5866 MB / 0.688 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001915/0.2146, allocations: 0.6474 MB / 0.6886 GB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000775/0.2154, allocations: 223.8 kB / 0.6888 GB, free: 4.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.2155, allocations: 79.28 kB / 0.6889 GB, free: 4.152 MB / 394.7 MB Notification: Performance of Backend: time 8.42e-07/0.2155, allocations: 3.938 kB / 0.6889 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.2188, allocations: 458 kB / 0.6894 GB, free: 3.695 MB / 394.7 MB Notification: Performance of SimCode: time 0.0006525/0.2195, allocations: 0.629 MB / 0.69 GB, free: 3.016 MB / 394.7 MB Notification: Performance of Templates: time 0.3195/0.539, allocations: 18.07 MB / 0.7076 GB, free: 78.83 MB / 394.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