Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.002061/0.002061, 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.002134/0.002134, 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.576/1.576, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4256/0.4256, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.811e-05, allocations: 2.312 kB / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003376/0.003404, allocations: 1.746 MB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.006426, allocations: 1.695 MB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.006508, allocations: 7.938 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.006847, allocations: 43.7 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.007263, allocations: 103.4 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.007481, allocations: 75.67 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.007703, allocations: 111.6 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.007789, allocations: 11.98 kB / 381.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.007917, allocations: 59.77 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.008057, allocations: 35.89 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.00808, allocations: 4 kB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.008286, allocations: 99.88 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.008343, allocations: 23.92 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.008399, allocations: 27.91 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.008741, allocations: 175.3 kB / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.008746, allocations: 0 / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008747, allocations: 0 / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.008753, allocations: 0 / 381.6 MB, free: 14.68 MB / 362.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.0007075/0.00946, allocations: 459.5 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.0095, allocations: 8.031 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.00956, allocations: 8.891 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.009826, allocations: 152.9 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.009843, allocations: 8.375 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.009869, allocations: 8.375 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.01007, allocations: 102.6 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01008, allocations: 0 / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.0101, allocations: 7.984 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.0101, allocations: 0 / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.01018, allocations: 15.98 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.01063, allocations: 291.7 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.01083, allocations: 71.09 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.01089, allocations: 15.69 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.01091, allocations: 12 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.01108, allocations: 69.03 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01108, allocations: 0 / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006394/0.01172, allocations: 181.6 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.01179, allocations: 77.11 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.01206, allocations: 234.9 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.01208, allocations: 25.7 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.01219, allocations: 146.9 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.01223, allocations: 27.78 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.0123, allocations: 31.38 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/0.01259, allocations: 0.504 MB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.01265, allocations: 23.92 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.01276, allocations: 76.75 kB / 384.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.0129, allocations: 71.48 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.0129, allocations: 0 / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.01312, allocations: 109.5 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01314, allocations: 4 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01314, allocations: 0 / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01316, allocations: 0 / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01326, allocations: 24.05 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01327, allocations: 0 / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.01332, allocations: 11.94 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.01333, allocations: 0 / 384.3 MB, free: 11.69 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.0001616/0.01349, allocations: 168.5 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01352, allocations: 7.953 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.0138, allocations: 122.3 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.0138, allocations: 4 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01381, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.01381, allocations: 3.984 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.01439, allocations: 405 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.0144, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.01444, allocations: 15.98 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01444, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01445, allocations: 4 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01446, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01446, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.01481, allocations: 275.4 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.01484, allocations: 7.953 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.01487, allocations: 3.984 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.01495, allocations: 8 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.015, allocations: 15.95 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.01501, allocations: 0 / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.01519, allocations: 178.1 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01519, allocations: 0 / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.01552, allocations: 51.86 kB / 385.5 MB, free: 10.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.003818/0.01934, allocations: 0.5993 MB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.0196, allocations: 67.59 kB / 386.2 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.0196, allocations: 4 kB / 386.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.377e-05/0.0197, allocations: 35.67 kB / 386.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.02011, allocations: 34.98 kB / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.0207, allocations: 221.8 kB / 386.5 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.02081, allocations: 89.56 kB / 386.6 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.02088, allocations: 21.27 kB / 386.6 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.02094, allocations: 16.5 kB / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02094, allocations: 0 / 386.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of Templates: time 0.007042/0.02798, allocations: 2.534 MB / 389.2 MB, free: 6.961 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.066536971949972]