Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006142/0.006142, allocations: 101.2 kB / 15.88 MB, free: 6.309 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.001398/0.001398, allocations: 193.5 kB / 16.79 MB, free: 6.238 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.364/1.364, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3448/0.3448, allocations: 43.5 MB / 313.5 MB, free: 8.508 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: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 63.91 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1261, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.002305/0.1284, allocations: 0.6048 MB / 440.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1295, allocations: 442.1 kB / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.1296, allocations: 0 / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.1297, allocations: 0 / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.1297, allocations: 3.938 kB / 440.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.1303, allocations: 99.77 kB / 441 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.1303, allocations: 31.97 kB / 441 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.1304, allocations: 4 kB / 441 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.1304, allocations: 7.938 kB / 441 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.1305, allocations: 15.92 kB / 441 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1305, allocations: 4 kB / 441 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.1308, allocations: 159.7 kB / 441.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1308, allocations: 11.94 kB / 441.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.1308, allocations: 15.92 kB / 441.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1311, allocations: 124 kB / 441.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1311, allocations: 4 kB / 441.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1311, allocations: 0 / 441.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1311, allocations: 4 kB / 441.3 MB, free: 13.32 MB / 382.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.000461/0.1316, allocations: 359.4 kB / 441.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1316, allocations: 12.03 kB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.1317, allocations: 4.844 kB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1318, allocations: 172.3 kB / 441.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1318, allocations: 4.375 kB / 441.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1318, allocations: 12.27 kB / 441.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.132, allocations: 50.25 kB / 441.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.132, allocations: 11.92 kB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.132, allocations: 4 kB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.132, allocations: 0 / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.1321, allocations: 27.97 kB / 442 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.1323, allocations: 173.6 kB / 442.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1326, allocations: 58.55 kB / 442.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.1326, allocations: 20.86 kB / 442.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.1329, allocations: 109.1 kB / 442.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.133, allocations: 34.56 kB / 442.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.133, allocations: 288 / 442.4 MB, free: 12.11 MB / 382.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.1408/0.2737, allocations: 6.381 MB / 448.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.2738, allocations: 59.33 kB / 448.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.2739, allocations: 101.9 kB / 448.9 MB, free: 5.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.274, allocations: 29.7 kB / 448.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.274, allocations: 80.14 kB / 449 MB, free: 5.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.564e-05/0.2741, allocations: 67 kB / 449.1 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.2743, allocations: 89.59 kB / 449.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2744, allocations: 326.8 kB / 449.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.275, allocations: 227.8 kB / 449.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.2756, allocations: 227.8 kB / 449.9 MB, free: 4.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.2777, allocations: 0.5625 MB / 450.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2777, allocations: 0 / 450.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001903/0.2796, allocations: 0.6027 MB / 451.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.2797, allocations: 7.938 kB / 451.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.2797, allocations: 0 / 451.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.2797, allocations: 4 kB / 451.1 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.2804, allocations: 107.8 kB / 451.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.2805, allocations: 3.984 kB / 451.2 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.2809, allocations: 23.95 kB / 451.2 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.281, allocations: 35.94 kB / 451.3 MB, free: 3.105 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.000163/0.2812, allocations: 121.7 kB / 451.4 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.2813, allocations: 7.906 kB / 451.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/0.2836, allocations: 0.7279 MB / 452.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2836, allocations: 3.938 kB / 452.1 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2836, allocations: 4 kB / 452.1 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2836, allocations: 0 / 452.1 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/0.288, allocations: 1.165 MB / 453.3 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.288, allocations: 4.125 kB / 453.3 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.2887, allocations: 104.1 kB / 453.4 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.2887, allocations: 4 kB / 453.4 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.2888, allocations: 28.42 kB / 453.4 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.2888, allocations: 4 kB / 453.4 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2888, allocations: 3.938 kB / 453.4 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.2906, allocations: 0.5856 MB / 454 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2907, allocations: 85.02 kB / 454.1 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.2907, allocations: 11.94 kB / 454.1 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.2912, allocations: 27.95 kB / 454.2 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.2913, allocations: 15.92 kB / 454.2 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.2913, allocations: 31.95 kB / 454.2 MB, free: 32 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.215/0.5063, allocations: 79.28 kB / 454.3 MB, free: 47.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5064, allocations: 2.531 kB / 454.3 MB, free: 47.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001907/0.5083, allocations: 0.6422 MB / 454.9 MB, free: 47.93 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.003133/0.5114, allocations: 295.2 kB / 455.2 MB, free: 47.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5127, allocations: 454.8 kB / 455.7 MB, free: 47.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5127, allocations: 0 / 455.7 MB, free: 47.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.5132, allocations: 199.7 kB / 455.8 MB, free: 47.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.5135, allocations: 15.23 kB / 455.9 MB, free: 47.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.5158, allocations: 0.5526 MB / 456.4 MB, free: 47.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.516, allocations: 0.6981 MB / 457.1 MB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005149/0.5165, allocations: 125.5 kB / 457.2 MB, free: 46.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.5168, allocations: 84.38 kB / 457.3 MB, free: 46.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5168, allocations: 0 / 457.3 MB, free: 46.92 MB / 382.1 MB Notification: Performance of Templates: time 0.07295/0.5898, allocations: 56.98 MB / 0.5022 GB, free: 20.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches