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.001281/0.001281, allocations: 96.86 kB / 15.98 MB, free: 6.352 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.001406/0.001406, allocations: 194.3 kB / 16.91 MB, free: 6.191 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.381/1.381, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3086/0.3086, allocations: 43.49 MB / 313.6 MB, free: 8.598 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.001365/0.001365, allocations: 67.89 kB / 382.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001725/0.1179, allocations: 0.6048 MB / 440.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006528/0.1185, allocations: 418.1 kB / 441 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.1186, allocations: 0 / 441 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1186, allocations: 0 / 441 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.1187, allocations: 3.938 kB / 441 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1191, allocations: 120.1 kB / 441.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.538e-05/0.1191, allocations: 19.98 kB / 441.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1192, allocations: 11.92 kB / 441.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.1192, allocations: 15.92 kB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.1193, allocations: 15.92 kB / 441.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1193, allocations: 7.938 kB / 441.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.1195, allocations: 159.8 kB / 441.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1195, allocations: 7.922 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.1196, allocations: 15.94 kB / 441.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1197, allocations: 131.7 kB / 441.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1198, allocations: 0 / 441.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1198, allocations: 0 / 441.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1198, allocations: 0 / 441.5 MB, free: 13.23 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.0003844/0.1202, allocations: 363.4 kB / 441.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1202, allocations: 8.031 kB / 441.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1202, allocations: 12.84 kB / 441.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1203, allocations: 160.4 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1204, allocations: 8.375 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1204, allocations: 12.22 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1205, allocations: 54.23 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1205, allocations: 3.938 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1206, allocations: 0 / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1206, allocations: 0 / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.1206, allocations: 27.98 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1208, allocations: 177.6 kB / 442.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.121, allocations: 54.56 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.1211, allocations: 32.84 kB / 442.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.1213, allocations: 105.1 kB / 442.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1214, allocations: 30.56 kB / 442.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1214, allocations: 0 / 442.5 MB, free: 12.03 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.1318/0.2532, allocations: 6.386 MB / 448.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2532, allocations: 55.41 kB / 449 MB, free: 5.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.2533, allocations: 101.8 kB / 449.1 MB, free: 5.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.2534, allocations: 33.64 kB / 449.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.2534, allocations: 84.14 kB / 449.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.2535, allocations: 63.02 kB / 449.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.2537, allocations: 85.59 kB / 449.3 MB, free: 5.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2538, allocations: 326.8 kB / 449.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.2543, allocations: 223.8 kB / 449.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.2549, allocations: 231.8 kB / 450.1 MB, free: 4.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.2569, allocations: 0.5625 MB / 450.7 MB, free: 3.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2569, allocations: 0 / 450.7 MB, free: 3.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001764/0.2587, allocations: 0.6105 MB / 451.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2587, allocations: 8 kB / 451.3 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2588, allocations: 0 / 451.3 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2588, allocations: 0 / 451.3 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.2594, allocations: 107.8 kB / 451.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2594, allocations: 0 / 451.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.2599, allocations: 27.97 kB / 451.4 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.2599, allocations: 31.94 kB / 451.5 MB, free: 3.023 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.0001522/0.2601, allocations: 125.7 kB / 451.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.2602, allocations: 7.906 kB / 451.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.2623, allocations: 0.724 MB / 452.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2623, allocations: 8 kB / 452.3 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2623, allocations: 0 / 452.3 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2623, allocations: 0 / 452.3 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/0.2663, allocations: 1.161 MB / 453.5 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2663, allocations: 4 kB / 453.5 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.2668, allocations: 95.8 kB / 453.6 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2669, allocations: 7.984 kB / 453.6 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.2669, allocations: 31.95 kB / 453.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2669, allocations: 0 / 453.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2669, allocations: 4 kB / 453.6 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.2686, allocations: 0.5864 MB / 454.2 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.2687, allocations: 92.98 kB / 454.3 MB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.2687, allocations: 4 kB / 454.3 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.2692, allocations: 23.97 kB / 454.3 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2007/0.4699, allocations: 15.44 kB / 454.3 MB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.4701, allocations: 30.52 kB / 454.4 MB, free: 48.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.4701, allocations: 83.12 kB / 454.4 MB, free: 48.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4701, allocations: 2.688 kB / 454.5 MB, free: 48.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00185/0.472, allocations: 0.6458 MB / 455.1 MB, free: 48.4 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.003231/0.4752, allocations: 306.8 kB / 455.4 MB, free: 48.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.4764, allocations: 453.9 kB / 455.8 MB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4765, allocations: 2.188 kB / 455.8 MB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.4769, allocations: 198.7 kB / 456 MB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.4772, allocations: 14.45 kB / 456.1 MB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.4796, allocations: 0.5517 MB / 456.6 MB, free: 48.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.4798, allocations: 0.6941 MB / 457.3 MB, free: 47.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005485/0.4803, allocations: 129.5 kB / 457.4 MB, free: 47.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.4806, allocations: 86.56 kB / 457.5 MB, free: 47.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4806, allocations: 2.781 kB / 457.5 MB, free: 47.39 MB / 382.1 MB Notification: Performance of Templates: time 0.07573/0.5564, allocations: 57.36 MB / 0.5028 GB, free: 20.27 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