Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001538/0.001538, allocations: 85.36 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001797/0.001797, allocations: 164.7 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.652e-05, allocations: 6.219 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003047/0.003073, allocations: 1.743 MB / 441.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.004925, allocations: 0.982 MB / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.004994, allocations: 4 kB / 442.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.00536, allocations: 107.5 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.00572, allocations: 123.5 kB / 443.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.005928, allocations: 83.59 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.006156, allocations: 147.6 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.006255, allocations: 5.594 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.00639, allocations: 83.73 kB / 443.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.006518, allocations: 71.84 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.006543, allocations: 8 kB / 443.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.006661, allocations: 55.92 kB / 443.6 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.006737, allocations: 39.83 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.006784, allocations: 23.94 kB / 443.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.007082, allocations: 167.4 kB / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.007085, allocations: 0 / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007086, allocations: 3.938 kB / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.007091, allocations: 0 / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007525/0.007843, allocations: 389.2 kB / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.007883, allocations: 12.03 kB / 444.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.00794, allocations: 20.8 kB / 444.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.00823, allocations: 166.5 kB / 444.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.008246, allocations: 4.375 kB / 444.4 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.008281, allocations: 4.375 kB / 444.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.008486, allocations: 74.22 kB / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.008507, allocations: 11.81 kB / 444.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.008523, allocations: 4 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.008527, allocations: 0 / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.008663, allocations: 43.95 kB / 444.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.00916, allocations: 268.4 kB / 444.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.009473, allocations: 82.42 kB / 444.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.009555, allocations: 36.84 kB / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.009568, allocations: 0 / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.009747, allocations: 75.38 kB / 445 MB, free: 3.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.009748, allocations: 0 / 445 MB, free: 3.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009307/0.01068, allocations: 315.7 kB / 445.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.01073, allocations: 59.39 kB / 445.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.01105, allocations: 263.8 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.01108, allocations: 29.7 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.01118, allocations: 116.1 kB / 445.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.01124, allocations: 55.78 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.01129, allocations: 33.7 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.01148, allocations: 330.8 kB / 446.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.01157, allocations: 36.83 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.01171, allocations: 61.69 kB / 446.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.01192, allocations: 105.6 kB / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01192, allocations: 0 / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003031/0.01222, allocations: 169.5 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01224, allocations: 12.03 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.01225, allocations: 0 / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01226, allocations: 0 / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01237, allocations: 27.98 kB / 446.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01237, allocations: 3.938 kB / 446.6 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.01242, allocations: 4 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.01244, allocations: 11.94 kB / 446.6 MB, free: 1.461 MB / 366.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001413/0.01258, allocations: 141.5 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.01262, allocations: 19.86 kB / 446.8 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.01304, allocations: 195 kB / 446.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01305, allocations: 8.109 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01305, allocations: 3.938 kB / 447 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01306, allocations: 0 / 447 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.01376, allocations: 471.1 kB / 447.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01377, allocations: 0 / 447.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.01385, allocations: 20 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01385, allocations: 0 / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.01387, allocations: 11.92 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01387, allocations: 0 / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01387, allocations: 8.047 kB / 447.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.01425, allocations: 277 kB / 447.7 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.01429, allocations: 19.84 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.01432, allocations: 11.98 kB / 447.8 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.0144, allocations: 8 kB / 447.8 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.01446, allocations: 7.984 kB / 447.8 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.01449, allocations: 11.98 kB / 447.8 MB, free: 200 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.0147, allocations: 193.5 kB / 448 MB, free: 8 kB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0147, allocations: 0 / 448 MB, free: 8 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.1855/0.2002, allocations: 38.05 kB / 448 MB, free: 21.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002073/0.2022, allocations: 0.5521 MB / 448.6 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.2026, allocations: 105.5 kB / 448.7 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2026, allocations: 0 / 448.7 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.2027, allocations: 58.84 kB / 448.7 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.2031, allocations: 36.92 kB / 448.8 MB, free: 21.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.2037, allocations: 339.4 kB / 449.1 MB, free: 21.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.883e-05/0.2038, allocations: 116 kB / 449.2 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.36e-05/0.2038, allocations: 23.7 kB / 449.2 MB, free: 21.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.2039, allocations: 26.86 kB / 449.2 MB, free: 21.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2039, allocations: 3.812 kB / 449.3 MB, free: 21.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006137/0.21, allocations: 2.347 MB / 451.6 MB, free: 20.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.657225411385298]