Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003901/0.003901, allocations: 365.1 kB / 15.96 MB, free: 6.18 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 4.162/4.162, allocations: 388.9 MB / 405.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003522/0.003522, allocations: 231.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.65/0.65, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006588/0.0006591, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.0963, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006609/0.09703, allocations: 252.4 kB / 0.6803 GB, free: 41.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.09779, allocations: 379.1 kB / 0.6807 GB, free: 41.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.09784, allocations: 0 / 0.6807 GB, free: 41.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.09787, allocations: 4 kB / 0.6807 GB, free: 41.01 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.183e-05/0.0979, allocations: 3.938 kB / 0.6807 GB, free: 41.01 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.09835, allocations: 91.83 kB / 0.6808 GB, free: 40.92 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.389e-05/0.09842, allocations: 27.92 kB / 0.6808 GB, free: 40.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.09848, allocations: 4 kB / 0.6808 GB, free: 40.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.09852, allocations: 11.92 kB / 0.6808 GB, free: 40.88 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.09858, allocations: 19.92 kB / 0.6809 GB, free: 40.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.09861, allocations: 7.938 kB / 0.6809 GB, free: 40.85 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.0989, allocations: 143.8 kB / 0.681 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.09893, allocations: 11.98 kB / 0.681 GB, free: 40.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.09896, allocations: 33.64 kB / 0.681 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.09912, allocations: 76.16 kB / 0.6811 GB, free: 40.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09914, allocations: 0 / 0.6811 GB, free: 40.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09915, allocations: 0 / 0.6811 GB, free: 40.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.09917, allocations: 0 / 0.6811 GB, free: 40.58 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003503/0.09952, allocations: 354.8 kB / 0.6815 GB, free: 40.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.09957, allocations: 12.03 kB / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.09962, allocations: 11.84 kB / 0.6815 GB, free: 40.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.09971, allocations: 175 kB / 0.6816 GB, free: 39.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.09974, allocations: 0 / 0.6816 GB, free: 39.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.09978, allocations: 8 kB / 0.6816 GB, free: 39.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.09993, allocations: 65.59 kB / 0.6817 GB, free: 39.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.09995, allocations: 4 kB / 0.6817 GB, free: 39.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.09998, allocations: 4 kB / 0.6817 GB, free: 39.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.09999, allocations: 7.938 kB / 0.6817 GB, free: 39.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1001, allocations: 43.97 kB / 0.6818 GB, free: 39.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.1003, allocations: 177.6 kB / 0.6819 GB, free: 39.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1005, allocations: 82.55 kB / 0.682 GB, free: 39.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.1005, allocations: 28.84 kB / 0.682 GB, free: 39.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/0.1009, allocations: 120.9 kB / 0.6822 GB, free: 39.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1009, allocations: 38.5 kB / 0.6822 GB, free: 39.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.1009, allocations: 0 / 0.6822 GB, free: 39.29 MB / 346.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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.2578/0.3588, allocations: 5.812 MB / 0.6879 GB, free: 33.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.3589, allocations: 59.34 kB / 0.6879 GB, free: 33.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.3589, allocations: 97.86 kB / 0.688 GB, free: 33.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.359, allocations: 25.7 kB / 0.688 GB, free: 33.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.359, allocations: 80.52 kB / 0.6881 GB, free: 33.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.3591, allocations: 78.84 kB / 0.6882 GB, free: 33.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.3592, allocations: 8 kB / 0.6882 GB, free: 33.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.3592, allocations: 318.8 kB / 0.6885 GB, free: 32.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.3599, allocations: 136 kB / 0.6886 GB, free: 32.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.3605, allocations: 139.9 kB / 0.6888 GB, free: 32.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.3618, allocations: 175.7 kB / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3619, allocations: 0 / 0.6889 GB, free: 32.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002062/0.3639, allocations: 401.7 kB / 0.6893 GB, free: 31.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.364, allocations: 11.95 kB / 0.6893 GB, free: 31.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.364, allocations: 4 kB / 0.6893 GB, free: 31.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/0.3641, allocations: 0 / 0.6893 GB, free: 31.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.3648, allocations: 91.91 kB / 0.6894 GB, free: 31.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3648, allocations: 7.938 kB / 0.6894 GB, free: 31.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.3652, allocations: 35.97 kB / 0.6895 GB, free: 31.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.3652, allocations: 19.98 kB / 0.6895 GB, free: 31.74 MB / 346.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 (23): * Single equations (assignments): 23 * 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.0001276/0.3654, allocations: 118.6 kB / 0.6896 GB, free: 31.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.3654, allocations: 11.89 kB / 0.6896 GB, free: 31.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.3679, allocations: 485.9 kB / 0.6901 GB, free: 31.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.3679, allocations: 3.984 kB / 0.6901 GB, free: 31.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3679, allocations: 0 / 0.6901 GB, free: 31.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.368, allocations: 81.02 kB / 0.6902 GB, free: 31.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.368, allocations: 8 kB / 0.6902 GB, free: 31.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.3684, allocations: 39.97 kB / 0.6902 GB, free: 30.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3685, allocations: 11.84 kB / 0.6902 GB, free: 30.96 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0025/0.371, allocations: 0.5278 MB / 0.6907 GB, free: 30.43 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002174/0.3732, allocations: 0.5763 MB / 0.6913 GB, free: 29.83 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006676/0.3739, allocations: 164.3 kB / 0.6914 GB, free: 29.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.3739, allocations: 79.28 kB / 0.6915 GB, free: 29.59 MB / 346.7 MB Notification: Performance of Backend: time 1.152e-06/0.374, allocations: 96 / 0.6915 GB, free: 29.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006267/0.3802, allocations: 461.9 kB / 0.692 GB, free: 29.13 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005447/0.3808, allocations: 0.6368 MB / 0.6926 GB, free: 28.45 MB / 346.7 MB Notification: Performance of Templates: time 0.7481/1.129, allocations: 54.09 MB / 0.7454 GB, free: 30.62 MB / 346.8 MB "" Variables in the reference:time,x,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd Variables in the result:time,x,x_small,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd