Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2762/0.2762, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.816e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4725/0.5896, allocations: 87.62 MB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5899, allocations: 77.36 kB / 0.5584 GB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.6149, allocations: 5.709 MB / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.615, allocations: 0 / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.615, allocations: 11.94 kB / 0.564 GB, free: 11.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000571/0.6156, allocations: 416.5 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.6157, allocations: 12.03 kB / 0.5644 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.6157, allocations: 14.69 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.6161, allocations: 230.2 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6162, allocations: 7.375 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.6162, allocations: 0 / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.6164, allocations: 60.3 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6164, allocations: 0 / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6165, allocations: 0 / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6165, allocations: 0 / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.6166, allocations: 26.78 kB / 0.5648 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.6171, allocations: 312.3 kB / 0.5651 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.6173, allocations: 52.56 kB / 0.5651 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.6173, allocations: 27.73 kB / 0.5651 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.6174, allocations: 0 / 0.5651 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.6176, allocations: 66.33 kB / 0.5652 GB, free: 9.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.335e-06/0.6176, allocations: 0 / 0.5652 GB, free: 9.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006363/0.6182, allocations: 164.3 kB / 0.5654 GB, free: 9.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.6183, allocations: 59.39 kB / 0.5654 GB, free: 9.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.6187, allocations: 255 kB / 0.5657 GB, free: 9.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.6188, allocations: 25.7 kB / 0.5657 GB, free: 9.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.6189, allocations: 171.8 kB / 0.5658 GB, free: 9.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.6189, allocations: 23.08 kB / 0.5659 GB, free: 9.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.6189, allocations: 3.188 kB / 0.5659 GB, free: 9.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.619, allocations: 310.8 kB / 0.5662 GB, free: 8.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.6191, allocations: 22.06 kB / 0.5662 GB, free: 8.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.6192, allocations: 37.52 kB / 0.5662 GB, free: 8.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.6193, allocations: 23.44 kB / 0.5662 GB, free: 8.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6193, allocations: 0 / 0.5662 GB, free: 8.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.6196, allocations: 100 kB / 0.5663 GB, free: 8.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.6196, allocations: 4 kB / 0.5663 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6196, allocations: 384 / 0.5663 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6196, allocations: 0 / 0.5663 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.6198, allocations: 23.94 kB / 0.5664 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.6198, allocations: 3.953 kB / 0.5664 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.6199, allocations: 7.984 kB / 0.5664 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.62, allocations: 4.031 kB / 0.5664 GB, free: 8.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.063e-05/0.6201, allocations: 109.5 kB / 0.5665 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.6201, allocations: 15.81 kB / 0.5665 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.6205, allocations: 126 kB / 0.5666 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6205, allocations: 4 kB / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6205, allocations: 0 / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6205, allocations: 3.953 kB / 0.5666 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.6212, allocations: 440.7 kB / 0.567 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6212, allocations: 0 / 0.567 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.6213, allocations: 11.94 kB / 0.5671 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6213, allocations: 0 / 0.5671 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.6213, allocations: 7.984 kB / 0.5671 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.6214, allocations: 3.953 kB / 0.5671 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6214, allocations: 0 / 0.5671 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.6217, allocations: 224.6 kB / 0.5673 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6218, allocations: 100.8 kB / 0.5674 GB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.6219, allocations: 7.953 kB / 0.5674 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.622, allocations: 4 kB / 0.5674 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.6221, allocations: 11.92 kB / 0.5674 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6221, allocations: 3.938 kB / 0.5674 GB, free: 7.586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.6224, allocations: 201.7 kB / 0.5676 GB, free: 7.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6224, allocations: 4 kB / 0.5676 GB, free: 7.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.6228, allocations: 35.86 kB / 0.5676 GB, free: 7.391 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001235/0.624, allocations: 421.5 kB / 0.568 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.6242, allocations: 54.31 kB / 0.5681 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6243, allocations: 0 / 0.5681 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.6244, allocations: 34.92 kB / 0.5681 GB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.6248, allocations: 25.42 kB / 0.5681 GB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.6255, allocations: 272.8 kB / 0.5684 GB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.6258, allocations: 0.7301 MB / 0.5691 GB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.6259, allocations: 19.42 kB / 0.5691 GB, free: 5.906 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6259, allocations: 3.938 kB / 0.5691 GB, free: 5.902 MB / 378.7 MB Notification: Performance of Templates: time 0.00589/0.6318, allocations: 2.19 MB / 0.5713 GB, free: 3.727 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches