Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.000951/0.000951, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009064/0.0009064, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9149/0.9149, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2536/0.2536, allocations: 32.8 MB / 294.3 MB, free: 1.23 MB / 266.7 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.696e-05, allocations: 2.312 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002015/0.002032, allocations: 1.766 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003129, allocations: 1.013 MB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.003191, allocations: 0 / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.003499, allocations: 39.7 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.003775, allocations: 99.53 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.003939, allocations: 75.67 kB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004082, allocations: 115.6 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.004163, allocations: 7.984 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.004237, allocations: 55.77 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/0.004299, allocations: 23.92 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.004313, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.162e-05/0.004385, allocations: 43.92 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.004431, allocations: 23.91 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.004465, allocations: 23.92 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.004621, allocations: 99.59 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004623, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004624, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.004627, allocations: 0 / 379.5 MB, free: 1.172 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004315/0.005059, allocations: 447.9 kB / 379.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.005094, allocations: 8.031 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.005142, allocations: 12.89 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.005296, allocations: 152.4 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.005314, allocations: 4.375 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.005331, allocations: 4.375 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.005443, allocations: 62.94 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.005454, allocations: 3.938 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005463, allocations: 0 / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.00547, allocations: 4 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.271e-05/0.005503, allocations: 11.92 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.005762, allocations: 283.8 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.005859, allocations: 47.17 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.00589, allocations: 27.61 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.0059, allocations: 4 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.006007, allocations: 72.97 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006008, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004592/0.006467, allocations: 157.3 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.006496, allocations: 51.41 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.006615, allocations: 226.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.006629, allocations: 33.69 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.006676, allocations: 150.8 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.006703, allocations: 31.77 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.006734, allocations: 27.38 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.006831, allocations: 0.4962 MB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.006856, allocations: 15.98 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.006888, allocations: 31.36 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.006945, allocations: 55.25 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.006946, allocations: 0 / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001078/0.007054, allocations: 85.59 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.007066, allocations: 7.938 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.007071, allocations: 384 / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.007086, allocations: 7.984 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.007151, allocations: 16.03 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.007157, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.007186, allocations: 8 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.007192, allocations: 0 / 382 MB, free: 14.44 MB / 362.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 6.732e-05/0.007259, allocations: 168.5 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.007275, allocations: 11.95 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.007411, allocations: 111.2 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.007413, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007416, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007419, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.007682, allocations: 396.9 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007683, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.007708, allocations: 8 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.007712, allocations: 7.938 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.00772, allocations: 3.984 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007721, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.007723, allocations: 4 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.007853, allocations: 259.4 kB / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.007864, allocations: 7.906 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.00788, allocations: 4 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.007927, allocations: 4.031 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.007958, allocations: 11.98 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.007969, allocations: 4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.739e-05/0.008037, allocations: 167.8 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008037, allocations: 3.938 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.008207, allocations: 27.92 kB / 383.2 MB, free: 13.18 MB / 362.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.0008827/0.00909, allocations: 433.7 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.009204, allocations: 59.58 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.009205, allocations: 4.062 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/0.009241, allocations: 31.61 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.009461, allocations: 27.98 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.009762, allocations: 218.5 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.009799, allocations: 67.33 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.00983, allocations: 12.97 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.009865, allocations: 24.55 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009866, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003681/0.01355, allocations: 2.007 MB / 386 MB, free: 10.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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: 2.979607501067221]