Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.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.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") 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.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001618, allocations: 95.48 kB / 15.98 MB, free: 6.336 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.001529/0.001529, allocations: 199.6 kB / 16.91 MB, free: 6.176 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.373/1.373, allocations: 205.1 MB / 222.8 MB, free: 4.602 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.4129/0.4129, allocations: 43.5 MB / 313.6 MB, free: 8.543 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.002354/0.002354, allocations: 67.89 kB / 382.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1232, allocations: 57.78 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002306/0.1255, allocations: 0.6047 MB / 440.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.1264, allocations: 414.2 kB / 441 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.1265, allocations: 0 / 441 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.1265, allocations: 0 / 441 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.1265, allocations: 0 / 441 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.1271, allocations: 132 kB / 441.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.1272, allocations: 27.92 kB / 441.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.1272, allocations: 3.938 kB / 441.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.1272, allocations: 15.94 kB / 441.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.1273, allocations: 23.91 kB / 441.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.1273, allocations: 0 / 441.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.1276, allocations: 155.8 kB / 441.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1276, allocations: 15.92 kB / 441.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.1276, allocations: 11.94 kB / 441.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1278, allocations: 135.7 kB / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1278, allocations: 7.938 kB / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1278, allocations: 0 / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1278, allocations: 0 / 441.5 MB, free: 13.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003737/0.1282, allocations: 359.5 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1283, allocations: 12.03 kB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.1283, allocations: 4.844 kB / 441.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1284, allocations: 168.3 kB / 442.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1284, allocations: 384 / 442.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1285, allocations: 12.38 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1286, allocations: 70.2 kB / 442.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1286, allocations: 3.938 kB / 442.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1287, allocations: 4 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1287, allocations: 8 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1288, allocations: 43.89 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.129, allocations: 173.6 kB / 442.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1292, allocations: 86.55 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.1293, allocations: 37.22 kB / 442.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.1296, allocations: 101.1 kB / 442.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.1297, allocations: 38.56 kB / 442.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.747e-06/0.1297, allocations: 0 / 442.6 MB, free: 11.9 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1306/0.2603, allocations: 5.624 MB / 448.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.2604, allocations: 55.41 kB / 448.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.2605, allocations: 89.86 kB / 448.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.2605, allocations: 29.7 kB / 448.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2606, allocations: 88.62 kB / 448.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/0.2607, allocations: 78.84 kB / 448.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2608, allocations: 57.67 kB / 448.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.261, allocations: 318.8 kB / 449 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.2613, allocations: 111.9 kB / 449.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.2616, allocations: 119.8 kB / 449.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.2631, allocations: 320.6 kB / 449.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2631, allocations: 0 / 449.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001188/0.2643, allocations: 365.6 kB / 449.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2643, allocations: 4 kB / 449.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2643, allocations: 0 / 449.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2644, allocations: 0 / 449.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.2648, allocations: 83.91 kB / 449.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2648, allocations: 0 / 449.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.265, allocations: 27.97 kB / 450 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.265, allocations: 23.92 kB / 450 MB, free: 4.438 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 (23): * Single equations (assignments): 23 * 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.0001238/0.2652, allocations: 117.8 kB / 450.1 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2652, allocations: 11.84 kB / 450.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.2667, allocations: 429.8 kB / 450.5 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2667, allocations: 4 kB / 450.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2667, allocations: 0 / 450.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2667, allocations: 3.984 kB / 450.5 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.2691, allocations: 0.7882 MB / 451.3 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2691, allocations: 0 / 451.3 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.2694, allocations: 71.92 kB / 451.4 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2694, allocations: 4 kB / 451.4 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.2694, allocations: 15.98 kB / 451.4 MB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2694, allocations: 3.938 kB / 451.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2695, allocations: 4 kB / 451.4 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2706, allocations: 424.8 kB / 451.8 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.2707, allocations: 85 kB / 451.9 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.2707, allocations: 8 kB / 451.9 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2709, allocations: 19.97 kB / 452 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.2709, allocations: 15.98 kB / 452 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.271, allocations: 19.98 kB / 452 MB, free: 2.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.271, allocations: 79.28 kB / 452.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.271, allocations: 0 / 452.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001824/0.2729, allocations: 0.6366 MB / 452.7 MB, free: 1.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.00342/0.2763, allocations: 294.9 kB / 453 MB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007981/0.2771, allocations: 263.7 kB / 453.2 MB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2771, allocations: 4 kB / 453.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.2775, allocations: 135.9 kB / 453.4 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2778, allocations: 19.16 kB / 453.4 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.2787, allocations: 376.2 kB / 453.8 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2014/0.4802, allocations: 0.6918 MB / 454.5 MB, free: 46.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003558/0.4806, allocations: 75.78 kB / 454.5 MB, free: 46.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.4807, allocations: 46.16 kB / 454.6 MB, free: 46.94 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4807, allocations: 0 / 454.6 MB, free: 46.94 MB / 382.1 MB Notification: Performance of Templates: time 0.08127/0.562, allocations: 53.85 MB / 0.4965 GB, free: 25.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches