Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001924/0.001924, 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.002005/0.002005, allocations: 161.3 kB / 24.27 MB, free: 152 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.638/1.638, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3681/0.3681, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 377.4 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.824e-05, allocations: 5.406 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003339/0.003367, allocations: 1.727 MB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.006386, allocations: 1.711 MB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.006453, allocations: 0 / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.006719, allocations: 43.64 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.007078, allocations: 103.5 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.007314, allocations: 83.59 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.007522, allocations: 115.6 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.007608, allocations: 7.984 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.007731, allocations: 55.83 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.007867, allocations: 31.89 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.007895, allocations: 8 kB / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.008109, allocations: 103.8 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.008166, allocations: 15.92 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.008232, allocations: 23.92 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.008574, allocations: 183.4 kB / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008578, allocations: 0 / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008579, allocations: 0 / 381.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.008584, allocations: 4 kB / 381.6 MB, free: 14.66 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.0006634/0.009248, allocations: 451.4 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.009285, allocations: 12.03 kB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.009347, allocations: 12.89 kB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.009606, allocations: 152.9 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.009623, allocations: 4.375 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.009643, allocations: 4.375 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.009846, allocations: 106.7 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.009857, allocations: 0 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.009867, allocations: 0 / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.009873, allocations: 8 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.009954, allocations: 19.92 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.0104, allocations: 291.7 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.01059, allocations: 67.17 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.01065, allocations: 23.67 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.01067, allocations: 3.938 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.01083, allocations: 69.05 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01083, allocations: 0 / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006655/0.01149, allocations: 177.3 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.01157, allocations: 89.09 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.01185, allocations: 230.9 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.01187, allocations: 25.7 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01198, allocations: 142.9 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.01203, allocations: 27.78 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.0121, allocations: 31.38 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003306/0.01243, allocations: 0.504 MB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.01251, allocations: 19.98 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.01263, allocations: 76.75 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.01277, allocations: 71.36 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01277, allocations: 4.031 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002345/0.01301, allocations: 101.5 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01302, allocations: 8 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01303, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01304, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01314, allocations: 19.98 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.01315, allocations: 4 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.0132, allocations: 0 / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01321, allocations: 4 kB / 384.3 MB, free: 11.69 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.0001486/0.01336, allocations: 172.4 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.0134, allocations: 23.92 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.01367, allocations: 110.4 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01368, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01368, allocations: 0 / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.01369, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.01427, allocations: 409 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01427, allocations: 0 / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.01433, allocations: 19.91 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01433, allocations: 0 / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01434, allocations: 4.375 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.01435, allocations: 4.031 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01435, allocations: 4 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.01468, allocations: 271.4 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.01471, allocations: 11.94 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.01474, allocations: 4 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.01483, allocations: 4 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.01487, allocations: 11.92 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.01489, allocations: 4 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.01505, allocations: 178.1 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01505, allocations: 0 / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000317/0.01537, allocations: 51.86 kB / 385.6 MB, free: 10.34 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.003968/0.01934, allocations: 0.5918 MB / 386.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.01964, allocations: 71.59 kB / 386.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.01964, allocations: 0 / 386.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.01974, allocations: 43.67 kB / 386.3 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.02014, allocations: 31.98 kB / 386.3 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.02074, allocations: 217.8 kB / 386.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.02084, allocations: 85.44 kB / 386.6 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.02092, allocations: 25.27 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.02098, allocations: 28.48 kB / 386.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02098, allocations: 0 / 386.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of Templates: time 0.007298/0.02828, allocations: 2.522 MB / 389.2 MB, free: 6.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.01780743105337]