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.00167/0.00167, allocations: 112.7 kB / 17.04 MB, free: 6.078 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.001967/0.001967, allocations: 195 kB / 17.97 MB, free: 5.16 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.422/1.422, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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.001576/0.001576, allocations: 63 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09777, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001731/0.09954, allocations: 0.5393 MB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006224/0.1002, allocations: 407.3 kB / 442.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.1002, allocations: 0 / 442.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.1003, allocations: 3.938 kB / 442.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.1003, allocations: 3.938 kB / 442.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1008, allocations: 143.5 kB / 443.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.1009, allocations: 31.89 kB / 443.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1009, allocations: 4 kB / 443.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.1009, allocations: 11.94 kB / 443.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.101, allocations: 15.92 kB / 443.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.101, allocations: 4 kB / 443.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.1012, allocations: 155.8 kB / 443.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1013, allocations: 11.92 kB / 443.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.1013, allocations: 19.92 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1015, allocations: 127.6 kB / 443.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1015, allocations: 0 / 443.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1015, allocations: 0 / 443.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.1015, allocations: 0 / 443.4 MB, free: 4.703 MB / 318.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.0003251/0.1018, allocations: 371.3 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1019, allocations: 8.031 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.1019, allocations: 4.938 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.616e-05/0.102, allocations: 168.3 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.102, allocations: 4.375 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.102, allocations: 8.375 kB / 444 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1021, allocations: 58.17 kB / 444 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1022, allocations: 3.938 kB / 444 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1022, allocations: 0 / 444 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1022, allocations: 4 kB / 444 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.152e-05/0.1023, allocations: 23.98 kB / 444.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1024, allocations: 173.6 kB / 444.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1026, allocations: 66.58 kB / 444.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.1027, allocations: 24.86 kB / 444.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.1029, allocations: 105.1 kB / 444.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.1029, allocations: 30.56 kB / 444.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1029, allocations: 0 / 444.5 MB, free: 3.492 MB / 318.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.1295/0.2324, allocations: 6.387 MB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.2325, allocations: 55.41 kB / 450.9 MB, free: 13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.2326, allocations: 105.8 kB / 451 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.2327, allocations: 29.7 kB / 451 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.2327, allocations: 80.14 kB / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.2328, allocations: 67.08 kB / 451.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.233, allocations: 89.59 kB / 451.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2332, allocations: 318.8 kB / 451.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.2338, allocations: 235.8 kB / 451.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/0.2344, allocations: 223.8 kB / 452 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.2365, allocations: 0.562 MB / 452.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2366, allocations: 0 / 452.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001893/0.2385, allocations: 0.6104 MB / 453.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2385, allocations: 4 kB / 453.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2385, allocations: 0 / 453.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2385, allocations: 0 / 453.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.2392, allocations: 111.8 kB / 453.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2392, allocations: 4 kB / 453.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.2397, allocations: 23.95 kB / 453.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.2398, allocations: 35.94 kB / 453.4 MB, free: 10.48 MB / 334.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.0001571/0.2399, allocations: 125.7 kB / 453.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.24, allocations: 7.906 kB / 453.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.2422, allocations: 0.7273 MB / 454.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2422, allocations: 4 kB / 454.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2422, allocations: 0 / 454.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2422, allocations: 0 / 454.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.2465, allocations: 1.169 MB / 455.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.2465, allocations: 4 kB / 455.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.2471, allocations: 103.8 kB / 455.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.2471, allocations: 0 / 455.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.2471, allocations: 31.95 kB / 455.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.2472, allocations: 0 / 455.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.2472, allocations: 4 kB / 455.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2489, allocations: 0.5857 MB / 456.1 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.2489, allocations: 85.48 kB / 456.2 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.249, allocations: 11.98 kB / 456.2 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.2494, allocations: 23.95 kB / 456.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.2495, allocations: 15.98 kB / 456.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.2495, allocations: 27.95 kB / 456.3 MB, free: 7.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.2496, allocations: 91.22 kB / 456.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2496, allocations: 0 / 456.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001703/0.2513, allocations: 0.6483 MB / 457 MB, free: 6.684 MB / 334.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.003054/0.2544, allocations: 291 kB / 457.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.2556, allocations: 451.6 kB / 457.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2556, allocations: 0 / 457.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.2562, allocations: 203.7 kB / 458 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2565, allocations: 12.38 kB / 458 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.2589, allocations: 0.5293 MB / 458.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.2591, allocations: 0.6926 MB / 459.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.2596, allocations: 128.9 kB / 459.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.2599, allocations: 87.28 kB / 459.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2599, allocations: 0 / 459.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of Templates: time 0.06951/0.3294, allocations: 57.39 MB / 0.5047 GB, free: 10.64 MB / 398.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches