Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.912/1.912, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001119/0.001118, allocations: 94.58 kB / 270.9 MB, free: 8.387 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.5033/0.5033, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 16 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.5858, allocations: 88.7 MB / 0.5654 GB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.5861, allocations: 71.97 kB / 0.5654 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01941/0.6055, allocations: 4.239 MB / 0.5696 GB, free: 9.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6056, allocations: 3.938 kB / 0.5696 GB, free: 9.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6056, allocations: 4 kB / 0.5696 GB, free: 9.598 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.0008224/0.6065, allocations: 485.6 kB / 0.57 GB, free: 9.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6065, allocations: 8.031 kB / 0.57 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.066e-05/0.6066, allocations: 19.25 kB / 0.5701 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.607, allocations: 235.2 kB / 0.5703 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.6071, allocations: 0 / 0.5703 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.6071, allocations: 16 kB / 0.5703 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.6074, allocations: 104.2 kB / 0.5704 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6075, allocations: 0 / 0.5704 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.6075, allocations: 4 kB / 0.5704 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6075, allocations: 1.031 kB / 0.5704 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.6078, allocations: 61.31 kB / 0.5705 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.6086, allocations: 0.5126 MB / 0.571 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.6091, allocations: 90.66 kB / 0.571 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.6091, allocations: 0 / 0.571 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.6094, allocations: 98.22 kB / 0.5711 GB, free: 7.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.6094, allocations: 0 / 0.5711 GB, free: 7.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006622/0.6101, allocations: 156.1 kB / 0.5713 GB, free: 7.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.6102, allocations: 51.41 kB / 0.5713 GB, free: 7.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.6104, allocations: 170.6 kB / 0.5715 GB, free: 7.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6105, allocations: 29.7 kB / 0.5715 GB, free: 7.379 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6106, allocations: 186.3 kB / 0.5717 GB, free: 7.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.6106, allocations: 27.8 kB / 0.5717 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.6107, allocations: 4 kB / 0.5717 GB, free: 7.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6108, allocations: 314.8 kB / 0.572 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.6109, allocations: 31.98 kB / 0.5721 GB, free: 6.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.6111, allocations: 73.55 kB / 0.5721 GB, free: 6.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.6113, allocations: 43.92 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6113, allocations: 0 / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005052/0.6118, allocations: 134.2 kB / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6119, allocations: 4 kB / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6119, allocations: 4 kB / 0.5723 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6119, allocations: 3.953 kB / 0.5723 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.6121, allocations: 27.98 kB / 0.5723 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6122, allocations: 7.938 kB / 0.5724 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.6123, allocations: 4 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.6123, allocations: 4 kB / 0.5724 GB, free: 6.496 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.0001557/0.6125, allocations: 139.9 kB / 0.5725 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.6125, allocations: 15.81 kB / 0.5725 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/0.613, allocations: 139.8 kB / 0.5726 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.6131, allocations: 4 kB / 0.5726 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6131, allocations: 3.953 kB / 0.5726 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6131, allocations: 0 / 0.5726 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.6133, allocations: 221.4 kB / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.6134, allocations: 0 / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.6135, allocations: 12 kB / 0.5729 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.6135, allocations: 7.922 kB / 0.5729 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6136, allocations: 7.984 kB / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6136, allocations: 0 / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6136, allocations: 0 / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.6143, allocations: 200.9 kB / 0.5731 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.6144, allocations: 92.95 kB / 0.5732 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.6144, allocations: 0 / 0.5732 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.6145, allocations: 16.48 kB / 0.5732 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.6146, allocations: 7.984 kB / 0.5732 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.6146, allocations: 0 / 0.5732 GB, free: 5.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.6148, allocations: 153.2 kB / 0.5733 GB, free: 5.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6148, allocations: 0 / 0.5733 GB, free: 5.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.6152, allocations: 32.06 kB / 0.5734 GB, free: 5.367 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.001179/0.6164, allocations: 424 kB / 0.5738 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.6168, allocations: 87.83 kB / 0.5739 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.6169, allocations: 8.25 kB / 0.5739 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.617, allocations: 39.98 kB / 0.5739 GB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.6174, allocations: 28.16 kB / 0.5739 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.6183, allocations: 329.8 kB / 0.5742 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.6186, allocations: 0.7168 MB / 0.5749 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.6187, allocations: 27.44 kB / 0.575 GB, free: 3.77 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6187, allocations: 0 / 0.575 GB, free: 3.77 MB / 394.7 MB Notification: Performance of Templates: time 0.005915/0.6246, allocations: 2.166 MB / 0.5771 GB, free: 1.609 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches