Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001439/0.001439, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001571/0.001571, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 46.96 MB / 360.9 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.89 kB / 0.4967 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 66.04 MB / 0.5612 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003602/0.3201, allocations: 1.714 MB / 0.5628 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3221, allocations: 0.9716 MB / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.3222, allocations: 7.938 kB / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.3226, allocations: 83.69 kB / 0.5639 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.323, allocations: 115.6 kB / 0.564 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3232, allocations: 83.66 kB / 0.5641 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.3234, allocations: 123.7 kB / 0.5642 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3236, allocations: 19.84 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.3237, allocations: 59.77 kB / 0.5643 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3238, allocations: 59.75 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3238, allocations: 4 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.324, allocations: 63.97 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.3241, allocations: 23.91 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.3241, allocations: 27.75 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3244, allocations: 145.7 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3244, allocations: 0 / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3244, allocations: 0 / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3245, allocations: 4 kB / 0.5646 GB, free: 0.6406 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006706/0.3251, allocations: 377.4 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3252, allocations: 12.03 kB / 0.5649 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.3252, allocations: 12.84 kB / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.3255, allocations: 146.8 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3255, allocations: 12.36 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3256, allocations: 4.125 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.3258, allocations: 69.66 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3258, allocations: 0 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3258, allocations: 11.98 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3258, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.189e-05/0.3259, allocations: 23.92 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.3263, allocations: 240.4 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.3267, allocations: 70.42 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.3267, allocations: 20.97 kB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3268, allocations: 4 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.327, allocations: 75.36 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.327, allocations: 0 / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009613/0.3279, allocations: 249.3 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.328, allocations: 51.41 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.3283, allocations: 231.4 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3283, allocations: 33.7 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3284, allocations: 104.1 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.3285, allocations: 35.75 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.3285, allocations: 29.64 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3287, allocations: 326.8 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.3288, allocations: 31.98 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.3289, allocations: 49.7 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3291, allocations: 77.7 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3291, allocations: 3.938 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002767/0.3293, allocations: 129.5 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3294, allocations: 8 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3294, allocations: 3.938 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3294, allocations: 0 / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.3295, allocations: 19.98 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3295, allocations: 11.97 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.3295, allocations: 3.938 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3296, allocations: 7.984 kB / 0.5669 GB, free: 14.01 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001463/0.3297, allocations: 125.8 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.3297, allocations: 15.91 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.3301, allocations: 154.9 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.3301, allocations: 4 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3301, allocations: 3.938 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.3301, allocations: 7.922 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.3307, allocations: 391.8 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3307, allocations: 0 / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.3307, allocations: 27.92 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/0.3308, allocations: 7.938 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3308, allocations: 0 / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3308, allocations: 0.7031 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3308, allocations: 4 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.3311, allocations: 253.2 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.3312, allocations: 11.91 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3312, allocations: 16 kB / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.3313, allocations: 0 / 0.5679 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.3313, allocations: 7.984 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3313, allocations: 15.98 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.3315, allocations: 169.1 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3315, allocations: 0 / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.3318, allocations: 31.92 kB / 0.5681 GB, free: 12.7 MB / 414.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 (12): * Single equations (assignments): 10 * 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.002119/0.334, allocations: 0.5483 MB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.3342, allocations: 79.91 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3342, allocations: 0 / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3343, allocations: 47.84 kB / 0.5688 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.3347, allocations: 44.09 kB / 0.5688 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006654/0.3354, allocations: 280.5 kB / 0.5691 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3355, allocations: 106 kB / 0.5692 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.357e-05/0.3356, allocations: 24.41 kB / 0.5692 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.3356, allocations: 23.42 kB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3356, allocations: 0 / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.005715/0.3413, allocations: 2.15 MB / 0.5714 GB, free: 9.633 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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: 5.233002748340368]