Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002182/0.002182, allocations: 185.9 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 2.035/2.035, 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.001114/0.001114, allocations: 89.61 kB / 270.9 MB, free: 8.367 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.5277/0.5277, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004945, allocations: 15.98 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1286, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.595, allocations: 87.71 MB / 0.5644 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.5954, allocations: 75.97 kB / 0.5645 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02412/0.6195, allocations: 5.387 MB / 0.5697 GB, free: 9.426 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6196, allocations: 0 / 0.5697 GB, free: 9.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.6196, allocations: 4.547 kB / 0.5697 GB, free: 9.422 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006529/0.6203, allocations: 418.3 kB / 0.5701 GB, free: 8.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6203, allocations: 16.02 kB / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.6204, allocations: 14.53 kB / 0.5702 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.6208, allocations: 213.8 kB / 0.5704 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.6208, allocations: 4 kB / 0.5704 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.6208, allocations: 8 kB / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.621, allocations: 53.67 kB / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.621, allocations: 0 / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6211, allocations: 0 / 0.5704 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.6211, allocations: 5.016 kB / 0.5704 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.6212, allocations: 19.98 kB / 0.5704 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.6217, allocations: 300.5 kB / 0.5707 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.622, allocations: 66.61 kB / 0.5708 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.622, allocations: 4 kB / 0.5708 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.6222, allocations: 67.45 kB / 0.5709 GB, free: 8.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.6222, allocations: 0 / 0.5709 GB, free: 8.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007603/0.623, allocations: 177.2 kB / 0.571 GB, free: 7.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.623, allocations: 63.3 kB / 0.5711 GB, free: 7.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.6233, allocations: 169.4 kB / 0.5713 GB, free: 7.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6233, allocations: 29.7 kB / 0.5713 GB, free: 7.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.6234, allocations: 158.6 kB / 0.5714 GB, free: 7.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.6235, allocations: 23.66 kB / 0.5715 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-06/0.6235, allocations: 4 kB / 0.5715 GB, free: 7.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6236, allocations: 318.8 kB / 0.5718 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.6237, allocations: 19.98 kB / 0.5718 GB, free: 7.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.6238, allocations: 37.7 kB / 0.5718 GB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.624, allocations: 24 kB / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.624, allocations: 0 / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003227/0.6243, allocations: 101.5 kB / 0.5719 GB, free: 6.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6243, allocations: 4 kB / 0.5719 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6244, allocations: 4.75 kB / 0.5719 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6244, allocations: 0 / 0.5719 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.6245, allocations: 16 kB / 0.572 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6245, allocations: 4.031 kB / 0.572 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.6246, allocations: 11.94 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.6247, allocations: 4 kB / 0.572 GB, free: 6.91 MB / 394.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 () * Number of clocked 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 0.00013/0.6248, allocations: 125.8 kB / 0.5721 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.6248, allocations: 7.906 kB / 0.5721 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.6252, allocations: 123 kB / 0.5722 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.6253, allocations: 4 kB / 0.5722 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6253, allocations: 4.281 kB / 0.5722 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6253, allocations: 0 / 0.5722 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.626, allocations: 415.2 kB / 0.5726 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.626, allocations: 3.938 kB / 0.5726 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.6261, allocations: 8 kB / 0.5726 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.6261, allocations: 3.984 kB / 0.5726 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.6261, allocations: 4 kB / 0.5727 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.6261, allocations: 4.828 kB / 0.5727 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6261, allocations: 7.969 kB / 0.5727 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.6265, allocations: 214 kB / 0.5729 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.6266, allocations: 97 kB / 0.573 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.6267, allocations: 7.938 kB / 0.573 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.6268, allocations: 8 kB / 0.573 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.6268, allocations: 11.98 kB / 0.573 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.6269, allocations: 384 / 0.573 GB, free: 5.762 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.6271, allocations: 144.8 kB / 0.5731 GB, free: 5.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6271, allocations: 0 / 0.5731 GB, free: 5.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.6274, allocations: 35.94 kB / 0.5732 GB, free: 5.586 MB / 394.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) * Number of clocked states: 0 () * 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.00137/0.6288, allocations: 479.6 kB / 0.5736 GB, free: 5.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.6292, allocations: 63.91 kB / 0.5737 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6292, allocations: 0 / 0.5737 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.6293, allocations: 31.98 kB / 0.5737 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.6297, allocations: 31.34 kB / 0.5737 GB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.6304, allocations: 282.6 kB / 0.574 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.6307, allocations: 0.7082 MB / 0.5747 GB, free: 4.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.6308, allocations: 19.42 kB / 0.5747 GB, free: 4.027 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6308, allocations: 0 / 0.5747 GB, free: 4.027 MB / 394.7 MB Notification: Performance of Templates: time 0.005341/0.6362, allocations: 1.915 MB / 0.5766 GB, free: 2.117 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches