Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001374/0.001374, allocations: 84.73 kB / 20.68 MB, free: 1.035 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.001397/0.001397, allocations: 164.2 kB / 23.95 MB, free: 4.168 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.398/1.398, allocations: 177.2 MB / 204.3 MB, free: 9.191 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.2145/0.2145, allocations: 32.81 MB / 293.5 MB, free: 44 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.783e-05, allocations: 2.281 kB / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002973/0.003001, allocations: 1.712 MB / 441.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.00471, allocations: 0.9742 MB / 442.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.004771, allocations: 7.938 kB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.005022, allocations: 35.83 kB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.005317, allocations: 103.4 kB / 443 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.005505, allocations: 75.61 kB / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.005686, allocations: 111.6 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.503e-05/0.005761, allocations: 4 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.005863, allocations: 51.84 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.005939, allocations: 31.89 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.005958, allocations: 4 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.006048, allocations: 39.98 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.006107, allocations: 35.84 kB / 443.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.006149, allocations: 19.88 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.006351, allocations: 115.6 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.006353, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006353, allocations: 0 / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.00636, allocations: 4 kB / 443.5 MB, free: 4.754 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.0005408/0.006901, allocations: 341.5 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.006933, allocations: 8.031 kB / 443.8 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.006987, allocations: 20.84 kB / 443.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.007193, allocations: 150.3 kB / 444 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.007207, allocations: 8.375 kB / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.007225, allocations: 384 / 444 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.00738, allocations: 62.17 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.007392, allocations: 3.938 kB / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.007401, allocations: 0 / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.007405, allocations: 0 / 444.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.007489, allocations: 23.98 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.007832, allocations: 228.6 kB / 444.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.008017, allocations: 62.61 kB / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.008079, allocations: 32.72 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.008093, allocations: 0 / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.008245, allocations: 67.39 kB / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.008246, allocations: 0 / 444.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005551/0.008801, allocations: 189.3 kB / 444.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.008852, allocations: 55.39 kB / 444.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.009083, allocations: 206.2 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.009103, allocations: 29.7 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.009174, allocations: 100.1 kB / 445 MB, free: 3.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.009208, allocations: 31.78 kB / 445.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.009255, allocations: 21.72 kB / 445.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.009427, allocations: 326.8 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.009489, allocations: 19.98 kB / 445.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.009564, allocations: 37.64 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.009695, allocations: 65.64 kB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.009695, allocations: 0 / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.009905, allocations: 109.5 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009919, allocations: 8.031 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.009923, allocations: 0 / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.009936, allocations: 4 kB / 445.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.01003, allocations: 12 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01003, allocations: 0 / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.01008, allocations: 12.3 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.01009, allocations: 4 kB / 445.7 MB, free: 2.375 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.0001143/0.0102, allocations: 133.6 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.01022, allocations: 7.953 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.0105, allocations: 127.1 kB / 445.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.0105, allocations: 4 kB / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.0105, allocations: 0 / 445.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01051, allocations: 3.938 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.01097, allocations: 347.2 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01097, allocations: 4 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.01101, allocations: 11.94 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01101, allocations: 3.938 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.01102, allocations: 8 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01103, allocations: 0 / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01103, allocations: 32 / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.0113, allocations: 220.2 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01132, allocations: 11.91 kB / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01134, allocations: 0 / 446.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.01142, allocations: 11.98 kB / 446.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.01146, allocations: 7.984 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.01147, allocations: 0 / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.01166, allocations: 156.2 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01166, allocations: 0 / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.01193, allocations: 31.92 kB / 446.7 MB, free: 1.234 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.001843/0.01378, allocations: 492.7 kB / 447.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.01398, allocations: 59.91 kB / 447.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01398, allocations: 0 / 447.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.01407, allocations: 39.97 kB / 447.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.01442, allocations: 33.58 kB / 447.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.01492, allocations: 234.1 kB / 447.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01503, allocations: 92.3 kB / 447.7 MB, free: 480 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.278e-05/0.01508, allocations: 12.97 kB / 447.7 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.01512, allocations: 20.56 kB / 447.7 MB, free: 440 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01512, allocations: 0 / 447.7 MB, free: 440 kB / 366.1 MB Notification: Performance of Templates: time 0.1688/0.184, allocations: 1.854 MB / 449.6 MB, free: 21.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.5808682180941105]