Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009798/0.0009798, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001155/0.001155, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9187/0.9187, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1551/0.1551, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.59e-05, allocations: 6.312 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002057/0.002073, allocations: 1.743 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003137, allocations: 0.9975 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.003218, allocations: 0 / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.003481, allocations: 47.75 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.003749, allocations: 107.4 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.003931, allocations: 87.59 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.004061, allocations: 99.69 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.004144, allocations: 11.98 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.004214, allocations: 51.78 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.004275, allocations: 31.89 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.004288, allocations: 4 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.004358, allocations: 39.94 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.0044, allocations: 35.84 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.004429, allocations: 23.86 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.004565, allocations: 111.6 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004567, allocations: 4 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004567, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004571, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.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.0003329/0.004904, allocations: 483.5 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.004932, allocations: 8.031 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.004966, allocations: 16.84 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.005087, allocations: 161.3 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.005101, allocations: 384 / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.005117, allocations: 4.375 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/0.005201, allocations: 62.88 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.005212, allocations: 15.91 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.005218, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.005222, allocations: 4 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.005244, allocations: 4 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.005436, allocations: 272.4 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.005508, allocations: 55.09 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.005526, allocations: 11.69 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.005536, allocations: 3.984 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.487e-05/0.005611, allocations: 72.98 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.005611, allocations: 0 / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000276/0.005887, allocations: 145.4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.005906, allocations: 51.41 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.477e-05/0.006001, allocations: 265.6 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.006009, allocations: 33.7 kB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.006051, allocations: 162.8 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.006073, allocations: 31.77 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.006101, allocations: 27.38 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.006147, allocations: 0.5001 MB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.006163, allocations: 15.94 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.006187, allocations: 35.34 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.006227, allocations: 47.42 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006227, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.546e-05/0.006313, allocations: 97.41 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.006323, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006327, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.006337, allocations: 4.312 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.006395, allocations: 16 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.006397, allocations: 4.031 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.006426, allocations: 11.98 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006432, allocations: 0 / 385.3 MB, free: 17.1 MB / 314.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 ($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 (10): * Single equations (assignments): 10 * 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 4.895e-05/0.006481, allocations: 167.6 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.006497, allocations: 19.84 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.006608, allocations: 103.1 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006609, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.006611, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006614, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.006806, allocations: 377.6 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006808, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.006831, allocations: 8 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.006835, allocations: 4 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.00684, allocations: 3.984 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.006842, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006843, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.944e-05/0.006932, allocations: 259.7 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.006947, allocations: 15.91 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.006962, allocations: 4 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.007002, allocations: 0 / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.007024, allocations: 12.02 kB / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.007035, allocations: 8 kB / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.007083, allocations: 180.5 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007083, allocations: 0 / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.00726, allocations: 31.92 kB / 386.5 MB, free: 15.86 MB / 314.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 (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.0009328/0.008193, allocations: 444.7 kB / 387 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.00829, allocations: 51.53 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008291, allocations: 3.938 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.008319, allocations: 27.75 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.008546, allocations: 46.47 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.008834, allocations: 264.3 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.008864, allocations: 79.19 kB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.008903, allocations: 16.97 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.008957, allocations: 86.19 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008958, allocations: 4.062 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of Templates: time 0.003419/0.01238, allocations: 2.079 MB / 389.6 MB, free: 12.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0454221102409065]