Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.00234/0.00234, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002917/0.002917, allocations: 165.3 kB / 24.27 MB, free: 156 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.632/1.632, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.4273/0.4273, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 377.4 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.42e-05, allocations: 6.312 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.005561/0.005596, allocations: 1.738 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003684/0.00928, allocations: 1.001 MB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/0.009368, allocations: 0 / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.009769, allocations: 51.69 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.0103, allocations: 99.48 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.01072, allocations: 79.59 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.01105, allocations: 119.6 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.01116, allocations: 7.938 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.01133, allocations: 43.91 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.01146, allocations: 31.89 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.01149, allocations: 4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.01164, allocations: 47.86 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.01174, allocations: 27.92 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.01181, allocations: 19.92 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.01221, allocations: 127.5 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01222, allocations: 0 / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01222, allocations: 0 / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.01223, allocations: 4 kB / 380.8 MB, free: 15.47 MB / 362.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.001031/0.01326, allocations: 467.4 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.0133, allocations: 8.031 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.01341, allocations: 16.84 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.01377, allocations: 157.2 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.01379, allocations: 4.375 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.01382, allocations: 4.359 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.01402, allocations: 58.17 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.01405, allocations: 3.938 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.01406, allocations: 4 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.01407, allocations: 4 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.01419, allocations: 19.92 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.01487, allocations: 299.8 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.01519, allocations: 63.11 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.0153, allocations: 27.61 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.01532, allocations: 0 / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.01558, allocations: 77 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.01558, allocations: 0 / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000978/0.01656, allocations: 181.3 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.01663, allocations: 59.41 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.01712, allocations: 275.1 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.01716, allocations: 25.7 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.01736, allocations: 162.9 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.01743, allocations: 31.83 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01754, allocations: 31.38 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004564/0.018, allocations: 0.504 MB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.01812, allocations: 23.92 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01827, allocations: 39.73 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.01852, allocations: 67.38 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01852, allocations: 4 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004006/0.01892, allocations: 113.5 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.01895, allocations: 8 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.01896, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01897, allocations: 0 / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.01914, allocations: 15.98 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.01915, allocations: 0 / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.01923, allocations: 4 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.01925, allocations: 8 kB / 383.5 MB, free: 12.53 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.000222/0.01947, allocations: 176.4 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.01953, allocations: 15.91 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/0.02, allocations: 119.1 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.02001, allocations: 4 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.02002, allocations: 3.984 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02003, allocations: 0 / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.02104, allocations: 424.9 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.02105, allocations: 0 / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.681e-05/0.02113, allocations: 15.97 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.02114, allocations: 3.938 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.02116, allocations: 4.031 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.02116, allocations: 4 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.02116, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.02173, allocations: 275.4 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.02177, allocations: 7.953 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.02181, allocations: 3.984 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.02196, allocations: 8 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.02202, allocations: 7.984 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.02205, allocations: 4 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003014/0.02235, allocations: 191.1 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.02235, allocations: 4 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000512/0.02287, allocations: 24 kB / 384.7 MB, free: 11.17 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.005356/0.02822, allocations: 497.2 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.02861, allocations: 67.59 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02862, allocations: 8 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.02879, allocations: 35.83 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.02947, allocations: 46.72 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/0.03041, allocations: 253.4 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.03063, allocations: 112.7 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.681e-05/0.03073, allocations: 17.03 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.0308, allocations: 16.5 kB / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0308, allocations: 0 / 385.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.01045/0.04126, allocations: 1.871 MB / 387.7 MB, free: 8.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.1402600249275565]