Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.002445/0.002445, 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.002127/0.002127, allocations: 165.3 kB / 24.28 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.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3799/0.3799, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.221e-05, allocations: 2.312 kB / 375.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003596/0.003628, allocations: 1.742 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.005675, allocations: 0.9859 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.005739, allocations: 4 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.006042, allocations: 35.7 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.006373, allocations: 99.53 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.006586, allocations: 83.59 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.006788, allocations: 107.6 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.006877, allocations: 8 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.007019, allocations: 63.75 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.007102, allocations: 19.92 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.007125, allocations: 8 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.007237, allocations: 47.91 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.007302, allocations: 15.92 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.007349, allocations: 15.94 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.007604, allocations: 123.5 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.007609, allocations: 0 / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007609, allocations: 4 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.007616, allocations: 0 / 378.7 MB, free: 1.527 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.000707/0.008323, allocations: 439.5 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.008364, allocations: 12.03 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.008429, allocations: 12.88 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.0087, allocations: 156.4 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.008715, allocations: 4.375 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.008736, allocations: 384 / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.008903, allocations: 58.23 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.008918, allocations: 7.938 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.00893, allocations: 3.984 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.008935, allocations: 0 / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.009016, allocations: 15.98 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.009504, allocations: 291.8 kB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.009699, allocations: 63.16 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.009763, allocations: 23.62 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.00978, allocations: 3.984 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.009959, allocations: 76.98 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.00996, allocations: 4 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005998/0.01056, allocations: 173.3 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.01064, allocations: 63.38 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.0109, allocations: 242.5 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01092, allocations: 29.7 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.01105, allocations: 158.8 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.01108, allocations: 23.86 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.01114, allocations: 31.36 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004534/0.01159, allocations: 0.4962 MB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.01165, allocations: 20 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.01173, allocations: 47.36 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.01188, allocations: 71.23 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.01188, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.01208, allocations: 93.64 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.0121, allocations: 11.98 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.0121, allocations: 3.938 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01212, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.01221, allocations: 12.38 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01221, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.01226, allocations: 3.984 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01227, allocations: 15.98 kB / 381.3 MB, free: 14.68 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.0001438/0.01241, allocations: 172.5 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.01244, allocations: 11.95 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.01273, allocations: 119.2 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01273, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.01274, allocations: 4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01274, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.01329, allocations: 412.9 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01329, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.01333, allocations: 16.02 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01334, allocations: 4 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.01335, allocations: 7.938 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01335, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.01335, allocations: 4 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.0137, allocations: 263.4 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.01373, allocations: 15.89 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.01376, allocations: 4 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.01382, allocations: 4 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.01387, allocations: 11.92 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.01389, allocations: 8 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.01405, allocations: 175.8 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01405, allocations: 4 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01431, allocations: 20 kB / 382.6 MB, free: 13.36 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.003453/0.01776, allocations: 496.7 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.018, allocations: 67.55 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.018, allocations: 0 / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.01809, allocations: 47.59 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.01848, allocations: 31.97 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.01905, allocations: 226.3 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01917, allocations: 96.42 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.974e-05/0.01923, allocations: 25.27 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.01928, allocations: 16.5 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01928, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of Templates: time 0.005834/0.02512, allocations: 1.87 MB / 385.4 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.029392739990726]