Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001968/0.001968, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002041/0.002041, allocations: 161.6 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3233/0.3233, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.601e-05, allocations: 2.312 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003449/0.003485, allocations: 1.738 MB / 377.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.005503, allocations: 0.9937 MB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.005574, allocations: 0 / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.005925, allocations: 55.69 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.006293, allocations: 99.53 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.006526, allocations: 83.55 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.006741, allocations: 107.7 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.006836, allocations: 4 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.00698, allocations: 63.75 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.007063, allocations: 23.92 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.007086, allocations: 4 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.007197, allocations: 43.92 kB / 378.5 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.007275, allocations: 35.84 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.007328, allocations: 23.92 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.007595, allocations: 127.5 kB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007599, allocations: 0 / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0076, allocations: 3.938 kB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.007606, allocations: 0 / 378.7 MB, free: 1.477 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.0007466/0.008352, allocations: 479.3 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.008395, allocations: 16.03 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.008462, allocations: 16.84 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.008738, allocations: 169.3 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.008752, allocations: 384 / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.008776, allocations: 4.375 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.008937, allocations: 54.23 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.008952, allocations: 3.938 kB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.008964, allocations: 0 / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.008968, allocations: 3.938 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.009046, allocations: 19.98 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.009545, allocations: 315.8 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.009733, allocations: 67.09 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.84e-05/0.009811, allocations: 31.55 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.009833, allocations: 4 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.009992, allocations: 69.05 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.009993, allocations: 4 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006505/0.01064, allocations: 189.6 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.0107, allocations: 51.41 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.01103, allocations: 294.7 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.01106, allocations: 25.7 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01121, allocations: 178.8 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.01125, allocations: 27.78 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.01131, allocations: 31.38 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000299/0.01161, allocations: 0.5118 MB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.01167, allocations: 20.06 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.01176, allocations: 47.3 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.01189, allocations: 67.3 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01189, allocations: 0 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002174/0.01211, allocations: 113.5 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01212, allocations: 8.031 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01213, allocations: 3.984 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01214, allocations: 0 / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.01224, allocations: 16 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01224, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.01229, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.0123, allocations: 4 kB / 381.5 MB, free: 14.45 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.0001429/0.01244, allocations: 172.4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.01248, allocations: 23.91 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.01276, allocations: 115.3 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01276, allocations: 4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01276, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01277, allocations: 3.938 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.01334, allocations: 433 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.01334, allocations: 4 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.01339, allocations: 15.92 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01339, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01341, allocations: 4 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01341, allocations: 7.938 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01341, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.01375, allocations: 275.4 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.01378, allocations: 15.91 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.0138, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.01388, allocations: 7.984 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.01392, allocations: 7.984 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.01394, allocations: 8 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001992/0.01414, allocations: 208.5 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01414, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.01441, allocations: 23.94 kB / 382.8 MB, free: 13.07 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.003353/0.01776, allocations: 493.3 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.01801, allocations: 71.53 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01801, allocations: 0 / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.842e-05/0.01811, allocations: 43.61 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.01856, allocations: 47.62 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.01923, allocations: 274.5 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.01936, allocations: 101.1 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.01942, allocations: 17.27 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.01948, allocations: 20.5 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01948, allocations: 0 / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of Templates: time 0.02259/0.04207, allocations: 1.886 MB / 385.8 MB, free: 10.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.410869247978553]