Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 84.45 kB / 20.69 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 165.2 kB / 23.96 MB, free: 0.5703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8456/0.8456, allocations: 158.6 MB / 185.7 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1304/0.1304, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 408.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.995e-05, allocations: 5.656 kB / 408.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00209/0.00211, allocations: 1.808 MB / 410 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.003074, allocations: 0.8737 MB / 410.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.00316, allocations: 0 / 410.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.003572, allocations: 259.1 kB / 411.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.003833, allocations: 175.4 kB / 411.3 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.004091, allocations: 155.5 kB / 411.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.004302, allocations: 255.2 kB / 411.7 MB, free: 9.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.004395, allocations: 13.8 kB / 411.7 MB, free: 9.391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.00452, allocations: 143.7 kB / 411.8 MB, free: 9.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.004673, allocations: 187.6 kB / 412 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.004694, allocations: 8 kB / 412 MB, free: 9.059 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.004768, allocations: 43.92 kB / 412.1 MB, free: 9.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.004833, allocations: 63.77 kB / 412.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.004881, allocations: 51.72 kB / 412.2 MB, free: 8.902 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.005147, allocations: 223.1 kB / 412.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005149, allocations: 0 / 412.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00515, allocations: 0 / 412.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005154, allocations: 4 kB / 412.4 MB, free: 8.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004952/0.005649, allocations: 492.4 kB / 412.9 MB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.005681, allocations: 8.031 kB / 412.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.005728, allocations: 36.7 kB / 412.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.005946, allocations: 221.7 kB / 413.2 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.005958, allocations: 4.375 kB / 413.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.00598, allocations: 12.36 kB / 413.2 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006133, allocations: 95.92 kB / 413.3 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.006146, allocations: 7.875 kB / 413.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.006158, allocations: 4 kB / 413.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.006163, allocations: 0 / 413.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.00624, allocations: 51.89 kB / 413.3 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.00658, allocations: 384.6 kB / 413.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.006755, allocations: 133.2 kB / 413.8 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.006807, allocations: 37.7 kB / 413.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.006821, allocations: 3.984 kB / 413.9 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.006963, allocations: 117 kB / 414 MB, free: 6.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.006964, allocations: 0 / 414 MB, free: 6.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007042/0.007668, allocations: 392.5 kB / 414.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.007708, allocations: 89.05 kB / 414.5 MB, free: 6.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.008003, allocations: 489.6 kB / 414.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.008017, allocations: 29.7 kB / 415 MB, free: 5.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.008091, allocations: 160.4 kB / 415.1 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.008126, allocations: 47.59 kB / 415.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.008166, allocations: 37.7 kB / 415.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.008261, allocations: 346.8 kB / 415.5 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.008325, allocations: 47.97 kB / 415.6 MB, free: 5.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.0084, allocations: 75.39 kB / 415.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.008533, allocations: 127.5 kB / 415.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008535, allocations: 0 / 415.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001967/0.008732, allocations: 197.3 kB / 416 MB, free: 4.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.008745, allocations: 10.66 kB / 416 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.008749, allocations: 0 / 416 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.008762, allocations: 4 kB / 416 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.008851, allocations: 31.92 kB / 416 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.008858, allocations: 4 kB / 416 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.008903, allocations: 16.05 kB / 416.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.008911, allocations: 7.938 kB / 416.1 MB, free: 4.809 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.009015, allocations: 177.7 kB / 416.2 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.009038, allocations: 27.81 kB / 416.3 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.009293, allocations: 224.4 kB / 416.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.009296, allocations: 7.938 kB / 416.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.009301, allocations: 0.75 kB / 416.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.009306, allocations: 0 / 416.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.009748, allocations: 0.5773 MB / 417.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.009751, allocations: 4 kB / 417.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.009794, allocations: 23.92 kB / 417.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.009799, allocations: 8 kB / 417.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.00981, allocations: 4 kB / 417.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.009812, allocations: 4 kB / 417.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009814, allocations: 3.938 kB / 417.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.01006, allocations: 392.2 kB / 417.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.01008, allocations: 27.77 kB / 417.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.0101, allocations: 12.06 kB / 417.5 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.01017, allocations: 4 kB / 417.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.01022, allocations: 23.89 kB / 417.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.01023, allocations: 8 kB / 417.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004839/0.01072, allocations: 367.1 kB / 417.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01072, allocations: 0 / 417.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01093, allocations: 47.92 kB / 418 MB, free: 2.809 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007198/0.01165, allocations: 0.4908 MB / 418.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.01183, allocations: 115.9 kB / 418.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01184, allocations: 4 kB / 418.6 MB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.01191, allocations: 56.17 kB / 418.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.01224, allocations: 57.39 kB / 418.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.01281, allocations: 0.5776 MB / 419.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.01292, allocations: 173.4 kB / 419.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.01297, allocations: 32.48 kB / 419.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01297, allocations: 0 / 419.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of Templates: time 0.00365/0.01662, allocations: 3.507 MB / 423 MB, free: 13.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.744318752549589]