Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000969/0.000969, allocations: 177.2 kB / 17.41 MB, free: 4.293 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.281/1.281, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.000737/0.0007372, allocations: 89.44 kB / 271.9 MB, free: 8.262 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.2998/0.2998, allocations: 43.56 MB / 363.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 16 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1133, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2858/0.3992, allocations: 87.75 MB / 0.5656 GB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3995, allocations: 83.94 kB / 0.5657 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01417/0.4136, allocations: 5.341 MB / 0.5709 GB, free: 9.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4137, allocations: 4 kB / 0.5709 GB, free: 9.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4137, allocations: 4 kB / 0.5709 GB, free: 9.125 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.0005194/0.4142, allocations: 414 kB / 0.5713 GB, free: 8.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4143, allocations: 8.031 kB / 0.5713 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.4143, allocations: 12.84 kB / 0.5713 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4146, allocations: 216.4 kB / 0.5716 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4146, allocations: 384 / 0.5716 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4146, allocations: 4.375 kB / 0.5716 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4148, allocations: 66.16 kB / 0.5716 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4148, allocations: 192 / 0.5716 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4148, allocations: 7.875 kB / 0.5716 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4148, allocations: 4 kB / 0.5716 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.4149, allocations: 23.98 kB / 0.5717 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.4153, allocations: 278.6 kB / 0.5719 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.4155, allocations: 70.55 kB / 0.572 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.4155, allocations: 24.84 kB / 0.572 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4155, allocations: 0 / 0.572 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.4157, allocations: 71.3 kB / 0.5721 GB, free: 7.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4157, allocations: 0 / 0.5721 GB, free: 7.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.4162, allocations: 174.2 kB / 0.5722 GB, free: 7.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.4163, allocations: 51.41 kB / 0.5723 GB, free: 7.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.4165, allocations: 178.2 kB / 0.5725 GB, free: 7.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4165, allocations: 29.7 kB / 0.5725 GB, free: 7.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.4165, allocations: 96.14 kB / 0.5726 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.4166, allocations: 23.7 kB / 0.5726 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.4166, allocations: 0 / 0.5726 GB, free: 7.211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4167, allocations: 330.8 kB / 0.5729 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/0.4168, allocations: 19.98 kB / 0.5729 GB, free: 6.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.4168, allocations: 41.64 kB / 0.573 GB, free: 6.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.417, allocations: 58.48 kB / 0.573 GB, free: 6.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.417, allocations: 1.031 kB / 0.573 GB, free: 6.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.4172, allocations: 109.5 kB / 0.5731 GB, free: 6.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4172, allocations: 4 kB / 0.5731 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4172, allocations: 4.031 kB / 0.5732 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4172, allocations: 4 kB / 0.5732 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.4173, allocations: 15.98 kB / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.4173, allocations: 0 / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.4174, allocations: 4 kB / 0.5732 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4174, allocations: 4 kB / 0.5732 GB, free: 6.602 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 9.762e-05/0.4175, allocations: 139.9 kB / 0.5733 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.4175, allocations: 8.281 kB / 0.5733 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.4178, allocations: 130.4 kB / 0.5734 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4178, allocations: 0 / 0.5734 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4178, allocations: 0 / 0.5734 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4178, allocations: 4 kB / 0.5734 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.4183, allocations: 419.1 kB / 0.5738 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4183, allocations: 3.938 kB / 0.5739 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.4183, allocations: 11.98 kB / 0.5739 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4183, allocations: 0 / 0.5739 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4183, allocations: 8.031 kB / 0.5739 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4183, allocations: 0 / 0.5739 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4184, allocations: 3.938 kB / 0.5739 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4186, allocations: 204.2 kB / 0.5741 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.4187, allocations: 93 kB / 0.5742 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.4187, allocations: 4 kB / 0.5742 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.4188, allocations: 4 kB / 0.5742 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4188, allocations: 15.92 kB / 0.5742 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.4188, allocations: 4 kB / 0.5742 GB, free: 5.457 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.4189, allocations: 137.5 kB / 0.5743 GB, free: 5.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4189, allocations: 0 / 0.5743 GB, free: 5.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.4192, allocations: 24 kB / 0.5743 GB, free: 5.301 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.001001/0.4202, allocations: 479 kB / 0.5748 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.4204, allocations: 59.95 kB / 0.5749 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4204, allocations: 7.938 kB / 0.5749 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.4205, allocations: 27.98 kB / 0.5749 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4209, allocations: 29.64 kB / 0.5749 GB, free: 4.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.4214, allocations: 270.2 kB / 0.5752 GB, free: 4.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4218, allocations: 0.7043 MB / 0.5759 GB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.4218, allocations: 15.44 kB / 0.5759 GB, free: 3.77 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4218, allocations: 0 / 0.5759 GB, free: 3.77 MB / 394.7 MB Notification: Performance of Templates: time 0.004069/0.4259, allocations: 1.893 MB / 0.5777 GB, free: 1.887 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches