Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.002481/0.002481, allocations: 95.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.002791/0.002791, allocations: 165.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.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3531/0.3531, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.115e-05, allocations: 10.25 kB / 375.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003647/0.003678, allocations: 1.738 MB / 377.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.006131, allocations: 0.9976 MB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.006236, allocations: 4 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.006623, allocations: 31.72 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.007106, allocations: 103.5 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.007387, allocations: 79.66 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.007602, allocations: 107.6 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.0077, allocations: 7.984 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.00784, allocations: 55.78 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.007932, allocations: 35.89 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.007955, allocations: 4 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.008085, allocations: 43.92 kB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.008146, allocations: 15.94 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.008201, allocations: 23.91 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.00846, allocations: 115.6 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.008463, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.008464, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.008469, allocations: 0 / 378.7 MB, free: 1.52 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.0006633/0.009133, allocations: 455.5 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.00917, allocations: 12.03 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.009228, allocations: 12.84 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.009483, allocations: 157.1 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.009502, allocations: 4.375 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.009524, allocations: 4.375 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.009687, allocations: 50.23 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.009701, allocations: 3.938 kB / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.009711, allocations: 0 / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.009716, allocations: 0 / 379.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.009803, allocations: 19.98 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.01026, allocations: 311.6 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.01046, allocations: 63.16 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.01051, allocations: 23.62 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.01054, allocations: 7.984 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.01072, allocations: 72.98 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.01072, allocations: 4 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.01135, allocations: 165.6 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.01142, allocations: 51.41 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.01168, allocations: 250.4 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.01171, allocations: 33.7 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01183, allocations: 166.7 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.01187, allocations: 27.78 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.01193, allocations: 31.38 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.0122, allocations: 0.4962 MB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.01226, allocations: 20.17 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.01234, allocations: 47.36 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.01248, allocations: 71.23 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01248, allocations: 0 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.0127, allocations: 101.6 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.01272, allocations: 8.031 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.01272, allocations: 3.938 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01274, allocations: 0 / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.01283, allocations: 16 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.01284, allocations: 3.984 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.01289, allocations: 8 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.0129, allocations: 0 / 381.4 MB, free: 14.64 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.0001449/0.01304, allocations: 168.5 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.01307, allocations: 11.91 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.01335, allocations: 123.2 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.01336, allocations: 8 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.01338, allocations: 3.984 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01338, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.01394, allocations: 420.9 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01394, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.01399, allocations: 8 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01399, allocations: 0 / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.014, allocations: 11.88 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.014, allocations: 3.984 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01401, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.01435, allocations: 275.5 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01437, allocations: 11.91 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.0144, allocations: 4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.01448, allocations: 4 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.01453, allocations: 7.984 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01454, allocations: 0 / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.0147, allocations: 188.1 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0147, allocations: 0 / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000257/0.01495, allocations: 23.94 kB / 382.6 MB, free: 13.31 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.003437/0.01839, allocations: 499.8 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.01864, allocations: 71.53 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.01864, allocations: 4 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.021e-05/0.01873, allocations: 39.55 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.01911, allocations: 36.09 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.01966, allocations: 226 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.01977, allocations: 96.3 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.423e-05/0.01982, allocations: 17.27 kB / 383.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.01987, allocations: 16.5 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01987, allocations: 4 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.005782/0.02565, allocations: 1.867 MB / 385.5 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.126440810970962]