Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001285/0.001285, allocations: 81.8 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001493/0.001493, allocations: 164.6 kB / 23.95 MB, free: 4.172 MB / 14.72 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.429/1.429, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.2021/0.2021, allocations: 32.82 MB / 293.5 MB, free: 36 kB / 270.1 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.Test15,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.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.492e-05, allocations: 2.281 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002884/0.002909, allocations: 1.712 MB / 441.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.004606, allocations: 0.9704 MB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.004665, allocations: 0 / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.004914, allocations: 31.78 kB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.005208, allocations: 99.47 kB / 443 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.005401, allocations: 87.53 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005623, allocations: 111.6 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.005706, allocations: 15.92 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-05/0.005805, allocations: 43.91 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.005877, allocations: 27.91 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.005897, allocations: 7.984 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.006003, allocations: 39.98 kB / 443.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.006059, allocations: 23.86 kB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.006101, allocations: 15.94 kB / 443.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.0063, allocations: 123.5 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.006304, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006305, allocations: 0 / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.006309, allocations: 4 kB / 443.5 MB, free: 4.75 MB / 366.1 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.000499/0.006808, allocations: 337.6 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.006837, allocations: 15.97 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.006882, allocations: 16.88 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.007089, allocations: 146.9 kB / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.007102, allocations: 384 / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.007123, allocations: 8.375 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.00726, allocations: 50.23 kB / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.007273, allocations: 3.938 kB / 444 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.007283, allocations: 8 kB / 444 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.007287, allocations: 3.938 kB / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.007366, allocations: 19.98 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.007692, allocations: 228.6 kB / 444.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.007866, allocations: 58.67 kB / 444.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.007927, allocations: 28.67 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.00794, allocations: 0 / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.008098, allocations: 71.38 kB / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.008099, allocations: 0 / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005462/0.008645, allocations: 193.3 kB / 444.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.008687, allocations: 51.41 kB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.008872, allocations: 187.3 kB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.008891, allocations: 29.7 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.008959, allocations: 104.1 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.008992, allocations: 23.8 kB / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.009032, allocations: 21.72 kB / 445 MB, free: 3.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.00918, allocations: 326.8 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.009238, allocations: 15.98 kB / 445.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.00931, allocations: 41.7 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.009441, allocations: 73.56 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.009441, allocations: 0 / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.009643, allocations: 109.5 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.009655, allocations: 4 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00966, allocations: 0 / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.009675, allocations: 4 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.00978, allocations: 15.98 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.009785, allocations: 0 / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.009831, allocations: 8.406 kB / 445.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.009837, allocations: 3.938 kB / 445.6 MB, free: 2.398 MB / 366.1 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.0001086/0.009946, allocations: 128.9 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.009973, allocations: 19.92 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.01023, allocations: 123.1 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01023, allocations: 0 / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01024, allocations: 0 / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01024, allocations: 0 / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.01069, allocations: 355.2 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01069, allocations: 4.031 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.01073, allocations: 11.94 kB / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01073, allocations: 3.938 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01074, allocations: 4 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01074, allocations: 0 / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01074, allocations: 0 / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.01101, allocations: 220.2 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01103, allocations: 11.91 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.01105, allocations: 0 / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.01112, allocations: 4 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.01116, allocations: 15.98 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.01118, allocations: 4 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.01131, allocations: 143.9 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01131, allocations: 0 / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.01157, allocations: 23.94 kB / 446.7 MB, free: 1.273 MB / 366.1 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.001758/0.01332, allocations: 0.4969 MB / 447.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.01351, allocations: 55.92 kB / 447.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.01352, allocations: 0 / 447.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.0136, allocations: 31.92 kB / 447.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.01394, allocations: 34.14 kB / 447.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.01437, allocations: 226.5 kB / 447.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.645e-05/0.01446, allocations: 88.44 kB / 447.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.984e-05/0.01451, allocations: 16.97 kB / 447.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.01454, allocations: 16.5 kB / 447.6 MB, free: 492 kB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.01454, allocations: 0 / 447.6 MB, free: 492 kB / 366.1 MB Notification: Performance of Templates: time 0.1607/0.1753, allocations: 1.855 MB / 449.5 MB, free: 21.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.595388628542423]