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.001548/0.001548, allocations: 181.4 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.046/2.046, 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.001616/0.001616, allocations: 86.69 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.2953/0.2953, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.598e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5508/0.6707, allocations: 88.61 MB / 0.5593 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.6711, allocations: 81.56 kB / 0.5594 GB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.6901, allocations: 4.212 MB / 0.5635 GB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6902, allocations: 3.938 kB / 0.5635 GB, free: 11.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.6902, allocations: 8 kB / 0.5635 GB, free: 11.41 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007212/0.6909, allocations: 458 kB / 0.564 GB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.691, allocations: 8.031 kB / 0.564 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.6911, allocations: 11.91 kB / 0.564 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.6915, allocations: 230.5 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.6915, allocations: 7.312 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.6916, allocations: 7.5 kB / 0.5642 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.6918, allocations: 101.7 kB / 0.5643 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6919, allocations: 3.938 kB / 0.5643 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.6919, allocations: 4 kB / 0.5643 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6919, allocations: 0 / 0.5643 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.6921, allocations: 35.19 kB / 0.5644 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.6929, allocations: 0.5215 MB / 0.5649 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.6933, allocations: 78.67 kB / 0.5649 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.6934, allocations: 43.48 kB / 0.565 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.6934, allocations: 0 / 0.565 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.6936, allocations: 78.59 kB / 0.5651 GB, free: 9.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.6937, allocations: 0 / 0.5651 GB, free: 9.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003534/0.694, allocations: 105.8 kB / 0.5652 GB, free: 9.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.6941, allocations: 59.39 kB / 0.5652 GB, free: 9.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.6944, allocations: 172 kB / 0.5654 GB, free: 9.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.6944, allocations: 25.7 kB / 0.5654 GB, free: 9.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.6946, allocations: 171.1 kB / 0.5656 GB, free: 9.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.6946, allocations: 34.3 kB / 0.5656 GB, free: 9.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.6946, allocations: 0 / 0.5656 GB, free: 9.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6948, allocations: 318.3 kB / 0.5659 GB, free: 8.926 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.6949, allocations: 26.58 kB / 0.5659 GB, free: 8.906 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.695, allocations: 68.8 kB / 0.566 GB, free: 8.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/0.6951, allocations: 27.05 kB / 0.566 GB, free: 8.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6951, allocations: 0 / 0.566 GB, free: 8.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002888/0.6954, allocations: 118.7 kB / 0.5661 GB, free: 8.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.6955, allocations: 4 kB / 0.5661 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6955, allocations: 8.125 kB / 0.5661 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.6955, allocations: 3.953 kB / 0.5662 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.6957, allocations: 27.92 kB / 0.5662 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6958, allocations: 0 / 0.5662 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.6959, allocations: 19.05 kB / 0.5662 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6959, allocations: 4 kB / 0.5662 GB, free: 8.652 MB / 378.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 () * 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.0001019/0.696, allocations: 113.1 kB / 0.5663 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.6961, allocations: 15.81 kB / 0.5663 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.6964, allocations: 123.1 kB / 0.5664 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.6964, allocations: 3.953 kB / 0.5664 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6965, allocations: 4 kB / 0.5664 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6965, allocations: 0 / 0.5664 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.6967, allocations: 220.3 kB / 0.5667 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6968, allocations: 4 kB / 0.5667 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.6969, allocations: 15.94 kB / 0.5667 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.6969, allocations: 0 / 0.5667 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.697, allocations: 3.984 kB / 0.5667 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.697, allocations: 192 / 0.5667 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.697, allocations: 7.953 kB / 0.5667 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.6974, allocations: 173.8 kB / 0.5669 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.6975, allocations: 96.25 kB / 0.5669 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.6975, allocations: 0 / 0.5669 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.6977, allocations: 15.17 kB / 0.567 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.6977, allocations: 4 kB / 0.567 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.6978, allocations: 12 kB / 0.567 GB, free: 7.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.6979, allocations: 145.2 kB / 0.5671 GB, free: 7.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.698, allocations: 0 / 0.5671 GB, free: 7.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003305/0.6983, allocations: 38.73 kB / 0.5672 GB, free: 7.688 MB / 378.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) * 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.001168/0.6995, allocations: 376.7 kB / 0.5675 GB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.6998, allocations: 64.06 kB / 0.5676 GB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6998, allocations: 256 / 0.5676 GB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.6999, allocations: 45.86 kB / 0.5676 GB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.7003, allocations: 33.47 kB / 0.5676 GB, free: 7.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.701, allocations: 205.5 kB / 0.5678 GB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.7013, allocations: 0.7203 MB / 0.5685 GB, free: 6.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.7014, allocations: 23.44 kB / 0.5686 GB, free: 6.285 MB / 378.7 MB Notification: Performance of SimCode: time 1.263e-06/0.7014, allocations: 0 / 0.5686 GB, free: 6.285 MB / 378.7 MB Notification: Performance of Templates: time 0.006351/0.7078, allocations: 2.171 MB / 0.5707 GB, free: 4.129 MB / 378.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