Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.00136/0.00136, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001466/0.001466, allocations: 161.6 kB / 24.26 MB, free: 176 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.556/1.556, allocations: 177.2 MB / 204.6 MB, free: 5.59 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.3789/0.3789, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.471e-05, allocations: 2.312 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004035/0.00407, allocations: 1.723 MB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.006208, allocations: 0.9742 MB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.006325, allocations: 0 / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.006672, allocations: 47.62 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.00711, allocations: 95.53 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.007439, allocations: 79.61 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.007673, allocations: 107.6 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.007779, allocations: 11.98 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.007902, allocations: 55.81 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.00799, allocations: 27.86 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.008014, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.008154, allocations: 47.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.008237, allocations: 23.91 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.008296, allocations: 15.94 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.008556, allocations: 115.6 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.00856, allocations: 0 / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008561, allocations: 0 / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.008566, allocations: 0 / 380.7 MB, free: 15.53 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.0006571/0.009223, allocations: 349.5 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.009263, allocations: 8.031 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.009322, allocations: 8.891 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.009579, allocations: 158.2 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.009596, allocations: 4.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.009622, allocations: 4.375 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.009786, allocations: 54.23 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.009799, allocations: 3.938 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.00981, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.009814, allocations: 0 / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.009907, allocations: 23.92 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.01038, allocations: 228.6 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.01059, allocations: 58.67 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.273e-05/0.01066, allocations: 24.78 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.01068, allocations: 0 / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.01086, allocations: 71.33 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.01086, allocations: 0 / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006717/0.01153, allocations: 181.6 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.01159, allocations: 55.41 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.01183, allocations: 191.2 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.01186, allocations: 29.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.01196, allocations: 104.1 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.01201, allocations: 23.84 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.01207, allocations: 29.7 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.01226, allocations: 322.8 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.01234, allocations: 28.05 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.01241, allocations: 37.7 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.01255, allocations: 61.66 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01255, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002264/0.01278, allocations: 109.6 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.0128, allocations: 14 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.0128, allocations: 0 / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.01282, allocations: 0 / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01293, allocations: 23.98 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01293, allocations: 0 / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.01298, allocations: 3.953 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.01299, allocations: 4 kB / 382.9 MB, free: 13.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.0001372/0.01313, allocations: 133.7 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.01316, allocations: 11.95 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.01344, allocations: 123.1 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01345, allocations: 4 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01345, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01346, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.01402, allocations: 350.9 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01403, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.01407, allocations: 11.94 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01408, allocations: 4 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01409, allocations: 3.984 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01409, allocations: 0 / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01409, allocations: 4.031 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.01442, allocations: 220.2 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.01445, allocations: 11.91 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01448, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.01456, allocations: 11.98 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.01463, allocations: 11.97 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.01464, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.01484, allocations: 143.9 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01484, allocations: 0 / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.01513, allocations: 23.98 kB / 383.9 MB, free: 12.05 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.00248/0.01761, allocations: 499.2 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.01786, allocations: 55.91 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.01786, allocations: 4 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.01796, allocations: 40.12 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.01836, allocations: 36.06 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.01896, allocations: 225.5 kB / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.01921, allocations: 92.3 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.01928, allocations: 17.03 kB / 384.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.01933, allocations: 16.5 kB / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01933, allocations: 0 / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Templates: time 0.005876/0.0252, allocations: 1.872 MB / 386.7 MB, free: 9.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.869483747985214]