Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001153/0.001154, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001262/0.001262, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2679/0.2679, allocations: 44.19 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 70.7 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09583, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001658/0.09753, allocations: 0.5306 MB / 470.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007044/0.09825, allocations: 405.2 kB / 470.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.09829, allocations: 0 / 470.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.09831, allocations: 3.938 kB / 470.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.541e-05/0.09835, allocations: 3.938 kB / 470.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.09878, allocations: 139.6 kB / 471 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.09885, allocations: 19.98 kB / 471 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.09889, allocations: 0 / 471 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.09892, allocations: 15.94 kB / 471 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.09898, allocations: 23.91 kB / 471.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.09899, allocations: 0 / 471.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.09924, allocations: 167.7 kB / 471.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.09926, allocations: 8 kB / 471.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.09929, allocations: 11.88 kB / 471.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.09948, allocations: 132 kB / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09949, allocations: 0 / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0995, allocations: 0 / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.09951, allocations: 0 / 471.4 MB, free: 12.95 MB / 350.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.0004063/0.09992, allocations: 363.5 kB / 471.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.09996, allocations: 12.03 kB / 471.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1, allocations: 4.938 kB / 471.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1001, allocations: 176.2 kB / 471.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1001, allocations: 4.375 kB / 471.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1002, allocations: 384 / 471.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1003, allocations: 54.23 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1003, allocations: 7.938 kB / 472 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1003, allocations: 8 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1003, allocations: 0 / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.1004, allocations: 31.91 kB / 472 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.1006, allocations: 173.6 kB / 472.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1008, allocations: 58.48 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.1008, allocations: 25.14 kB / 472.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.1011, allocations: 109 kB / 472.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1011, allocations: 38.56 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1011, allocations: 0 / 472.4 MB, free: 11.73 MB / 350.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.1437/0.2448, allocations: 6.374 MB / 478.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.2449, allocations: 55.41 kB / 478.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.245, allocations: 97.86 kB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.2451, allocations: 29.7 kB / 479 MB, free: 5.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.2451, allocations: 84.14 kB / 479 MB, free: 5.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/0.2452, allocations: 67.08 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.2454, allocations: 85.59 kB / 479.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2455, allocations: 326.8 kB / 479.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.2461, allocations: 228 kB / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.2467, allocations: 235.8 kB / 480 MB, free: 4.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.2489, allocations: 0.5575 MB / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2489, allocations: 0 / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001914/0.2508, allocations: 0.6104 MB / 481.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2508, allocations: 4 kB / 481.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2508, allocations: 0 / 481.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2509, allocations: 4 kB / 481.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.2515, allocations: 103.8 kB / 481.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2516, allocations: 0 / 481.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.252, allocations: 31.95 kB / 481.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.2521, allocations: 31.94 kB / 481.3 MB, free: 2.734 MB / 350.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.0001558/0.2523, allocations: 129.7 kB / 481.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.2523, allocations: 7.906 kB / 481.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.2546, allocations: 0.7304 MB / 482.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2546, allocations: 4 kB / 482.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2546, allocations: 480 / 482.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.2547, allocations: 0 / 482.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.2588, allocations: 1.176 MB / 483.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2588, allocations: 4 kB / 483.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.2594, allocations: 91.86 kB / 483.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2594, allocations: 8.125 kB / 483.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.2595, allocations: 31.95 kB / 483.5 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.2595, allocations: 7.938 kB / 483.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2595, allocations: 0 / 483.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.2612, allocations: 0.5852 MB / 484.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.2613, allocations: 85.02 kB / 484.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.2614, allocations: 8 kB / 484.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.2618, allocations: 27.95 kB / 484.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2619, allocations: 15.98 kB / 484.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.2619, allocations: 31.95 kB / 484.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.269e-05/0.262, allocations: 83.28 kB / 484.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.262, allocations: 0 / 484.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001716/0.2637, allocations: 0.6444 MB / 485 MB, free: 14.93 MB / 366.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.003248/0.2669, allocations: 298.9 kB / 485.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.2682, allocations: 451.5 kB / 485.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2682, allocations: 0 / 485.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.2688, allocations: 211.8 kB / 485.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2691, allocations: 10.23 kB / 485.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.2715, allocations: 0.5469 MB / 486.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2718, allocations: 0.6887 MB / 487.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.2721, allocations: 91.28 kB / 487.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2721, allocations: 0 / 487.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Templates: time 0.02374/0.2959, allocations: 15.96 MB / 0.4914 GB, free: 12.63 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches