Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001895/0.001895, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001796/0.001796, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.55/1.55, allocations: 177.2 MB / 204.6 MB, free: 5.57 MB / 186.7 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.3949/0.3949, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.947e-05, allocations: 2.312 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.004073/0.004103, allocations: 1.719 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.00619, allocations: 0.9703 MB / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.006266, allocations: 0 / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.006584, allocations: 43.7 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.006938, allocations: 99.47 kB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.00717, allocations: 75.66 kB / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.007392, allocations: 111.6 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.007491, allocations: 4 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.007617, allocations: 55.83 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.007704, allocations: 23.91 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.007726, allocations: 8 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.007833, allocations: 47.92 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.444e-05/0.007898, allocations: 23.91 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.007954, allocations: 19.88 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.008207, allocations: 119.5 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.00821, allocations: 0 / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008211, allocations: 0 / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.008215, allocations: 0 / 378.7 MB, free: 1.562 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.0006401/0.008856, allocations: 341.6 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.008894, allocations: 8.031 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/0.008964, allocations: 24.84 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.00927, allocations: 154.2 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.009285, allocations: 4.375 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.009311, allocations: 4.375 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.009467, allocations: 54.23 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.009484, allocations: 7.922 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.009497, allocations: 4 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.009504, allocations: 7.938 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.099e-05/0.009585, allocations: 15.98 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.01002, allocations: 236.5 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.01023, allocations: 62.61 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.0103, allocations: 24.78 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.01032, allocations: 4 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.01049, allocations: 63.39 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.01049, allocations: 0 / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006505/0.01114, allocations: 181.4 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.01119, allocations: 55.39 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.01147, allocations: 206.6 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.01149, allocations: 33.7 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.01159, allocations: 108 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.01163, allocations: 31.72 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.01168, allocations: 21.72 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.01189, allocations: 326.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.01196, allocations: 15.98 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.01204, allocations: 37.7 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.01219, allocations: 65.64 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01219, allocations: 0 / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002266/0.01242, allocations: 109.6 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01243, allocations: 8 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01244, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01246, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.01256, allocations: 15.94 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.01257, allocations: 7.984 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.01262, allocations: 4 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01263, allocations: 4.375 kB / 380.9 MB, free: 15.17 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 0.0001405/0.01277, allocations: 121.8 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.01281, allocations: 27.92 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.01311, allocations: 123.2 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.01312, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.01313, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01313, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.01365, allocations: 350.9 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.01366, allocations: 4 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.0137, allocations: 11.94 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.0137, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01371, allocations: 4.031 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01372, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01372, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.01405, allocations: 220.2 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.01407, allocations: 11.91 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.0141, allocations: 4 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.01417, allocations: 7.984 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.01422, allocations: 4 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.01423, allocations: 7.938 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.0144, allocations: 156.2 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0144, allocations: 4 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.01467, allocations: 27.92 kB / 381.9 MB, free: 14.03 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.002315/0.01699, allocations: 493.8 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.01721, allocations: 63.84 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01722, allocations: 0 / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/0.01731, allocations: 35.97 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.01772, allocations: 31.91 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.0183, allocations: 233.5 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01842, allocations: 92.3 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.01848, allocations: 25.39 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.01853, allocations: 16.5 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01853, allocations: 0 / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.005652/0.02418, allocations: 1.876 MB / 384.8 MB, free: 11.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.866928000003099]