Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001136/0.001136, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001806/0.001806, allocations: 165.2 kB / 24.99 MB, free: 8.793 MB / 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2471/0.2471, allocations: 32.81 MB / 294.6 MB, free: 1.293 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.637e-05, allocations: 6.25 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002679/0.002716, allocations: 1.765 MB / 377.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.00412, allocations: 1.001 MB / 378.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.004224, allocations: 0 / 378.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.004541, allocations: 51.64 kB / 378.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.004884, allocations: 99.53 kB / 379 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.005113, allocations: 75.66 kB / 379.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.005311, allocations: 111.6 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.005408, allocations: 4 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.005503, allocations: 59.77 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.748e-05/0.00558, allocations: 27.91 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.005598, allocations: 4 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.005699, allocations: 43.92 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.005757, allocations: 31.91 kB / 379.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.005797, allocations: 15.94 kB / 379.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.005992, allocations: 107.6 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005996, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005997, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.006002, allocations: 0 / 379.5 MB, free: 1.496 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.0005133/0.006515, allocations: 455.8 kB / 379.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.006556, allocations: 8.031 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.00662, allocations: 12.89 kB / 379.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.006819, allocations: 156.9 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.006841, allocations: 8.375 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.006861, allocations: 4.375 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.007013, allocations: 62.94 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.007027, allocations: 3.938 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.007038, allocations: 0 / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.007047, allocations: 0 / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.007087, allocations: 11.98 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.007439, allocations: 287.8 kB / 380.5 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.00757, allocations: 51.17 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.007606, allocations: 27.56 kB / 380.5 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.007622, allocations: 7.969 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.007732, allocations: 68.98 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.007734, allocations: 0 / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004154/0.008149, allocations: 169.5 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.008196, allocations: 55.41 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.00834, allocations: 233.9 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.008356, allocations: 25.7 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.008416, allocations: 158.8 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.008446, allocations: 23.8 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.008485, allocations: 39.36 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.008609, allocations: 0.4923 MB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.008639, allocations: 12 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.008676, allocations: 31.36 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.664e-05/0.008743, allocations: 59.23 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008744, allocations: 0 / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001171/0.008861, allocations: 81.64 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.008877, allocations: 4 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.008884, allocations: 11.97 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.008901, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.008984, allocations: 15.98 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.00899, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.009026, allocations: 11.95 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.009032, allocations: 4 kB / 382 MB, free: 14.72 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 8.033e-05/0.009113, allocations: 160.5 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.009134, allocations: 15.94 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.009299, allocations: 107.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.009302, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.009306, allocations: 4 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.009311, allocations: 7.984 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.009626, allocations: 392.9 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.009628, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.00966, allocations: 8 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.009663, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.009672, allocations: 7.938 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.009675, allocations: 3.984 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009676, allocations: 3.938 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.009834, allocations: 259.4 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.009847, allocations: 11.94 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.009867, allocations: 8 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.009912, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.009949, allocations: 7.984 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.009964, allocations: 4 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.779e-05/0.01005, allocations: 184.1 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 4 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.01025, allocations: 23.94 kB / 383.2 MB, free: 13.44 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.0009809/0.01123, allocations: 437.1 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01136, allocations: 55.59 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01137, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.01141, allocations: 35.61 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01166, allocations: 27.97 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.01205, allocations: 229.9 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.01209, allocations: 63.34 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.293e-05/0.01214, allocations: 25.39 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.01217, allocations: 16.5 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01217, allocations: 0 / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003997/0.01617, allocations: 1.878 MB / 386 MB, free: 10.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1731557119637728]