Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001121/0.001121, allocations: 95.55 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5439/0.5439, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.5857, allocations: 88.7 MB / 0.5654 GB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.5861, allocations: 79.95 kB / 0.5654 GB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01875/0.6048, allocations: 4.261 MB / 0.5696 GB, free: 9.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6049, allocations: 0 / 0.5696 GB, free: 9.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.6049, allocations: 0 / 0.5696 GB, free: 9.754 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008624/0.6058, allocations: 485.5 kB / 0.5701 GB, free: 9.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6059, allocations: 8.031 kB / 0.5701 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.6059, allocations: 19.25 kB / 0.5701 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.6064, allocations: 235.2 kB / 0.5703 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.6065, allocations: 4 kB / 0.5703 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.6065, allocations: 8 kB / 0.5703 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.6068, allocations: 112.2 kB / 0.5704 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6069, allocations: 0 / 0.5704 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.6069, allocations: 4 kB / 0.5704 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.6069, allocations: 5.781 kB / 0.5704 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.6072, allocations: 43.97 kB / 0.5705 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.608, allocations: 0.5166 MB / 0.571 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.6085, allocations: 104.4 kB / 0.5711 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.6085, allocations: 0 / 0.5711 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.6088, allocations: 90.56 kB / 0.5712 GB, free: 7.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.6089, allocations: 4 kB / 0.5712 GB, free: 7.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006319/0.6095, allocations: 153.4 kB / 0.5713 GB, free: 7.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.6095, allocations: 51.41 kB / 0.5714 GB, free: 7.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.6098, allocations: 170.6 kB / 0.5715 GB, free: 7.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.6098, allocations: 29.7 kB / 0.5716 GB, free: 7.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.61, allocations: 186.4 kB / 0.5717 GB, free: 7.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.61, allocations: 27.66 kB / 0.5718 GB, free: 7.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.61, allocations: 4 kB / 0.5718 GB, free: 7.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6102, allocations: 318.8 kB / 0.5721 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.6103, allocations: 27.98 kB / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.6105, allocations: 73.92 kB / 0.5722 GB, free: 6.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.6107, allocations: 43.92 kB / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6107, allocations: 0 / 0.5722 GB, free: 6.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004582/0.6112, allocations: 134.2 kB / 0.5723 GB, free: 6.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.6112, allocations: 8 kB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6112, allocations: 0 / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6113, allocations: 3.953 kB / 0.5723 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.6115, allocations: 31.92 kB / 0.5724 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.6115, allocations: 4 kB / 0.5724 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.6116, allocations: 4.469 kB / 0.5724 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.6117, allocations: 4 kB / 0.5724 GB, free: 6.648 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000147/0.6118, allocations: 145 kB / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.6119, allocations: 11.81 kB / 0.5725 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.6123, allocations: 138.9 kB / 0.5727 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.6123, allocations: 4 kB / 0.5727 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6124, allocations: 3.953 kB / 0.5727 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6124, allocations: 0 / 0.5727 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.6126, allocations: 221.4 kB / 0.5729 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6127, allocations: 5.375 kB / 0.5729 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.6128, allocations: 12 kB / 0.5729 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.6128, allocations: 7.984 kB / 0.5729 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.6129, allocations: 0 / 0.5729 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.6129, allocations: 0 / 0.5729 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6129, allocations: 0 / 0.5729 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.6135, allocations: 200.9 kB / 0.5731 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.6136, allocations: 92.95 kB / 0.5732 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.6136, allocations: 0 / 0.5732 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6138, allocations: 16.86 kB / 0.5732 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.6138, allocations: 7.984 kB / 0.5732 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.6139, allocations: 4 kB / 0.5732 GB, free: 5.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.6141, allocations: 145.2 kB / 0.5734 GB, free: 5.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6141, allocations: 4.062 kB / 0.5734 GB, free: 5.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.6144, allocations: 32.06 kB / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001206/0.6156, allocations: 425.6 kB / 0.5738 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.6161, allocations: 83.89 kB / 0.5739 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6161, allocations: 256 / 0.5739 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.6163, allocations: 51.92 kB / 0.5739 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.6167, allocations: 28.16 kB / 0.574 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.6175, allocations: 330.3 kB / 0.5743 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6178, allocations: 0.7165 MB / 0.575 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.6179, allocations: 19.44 kB / 0.575 GB, free: 3.926 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6179, allocations: 7.938 kB / 0.575 GB, free: 3.918 MB / 394.7 MB Notification: Performance of Templates: time 0.006064/0.624, allocations: 2.169 MB / 0.5771 GB, free: 1.758 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches