Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001456/0.001456, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001454/0.001454, allocations: 161 kB / 24.56 MB, free: 12 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 0.9822/0.9822, allocations: 177.1 MB / 205 MB, free: 5.582 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.2677/0.2677, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.378e-05, allocations: 10.25 kB / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002207/0.002231, allocations: 1.766 MB / 377.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.003635, allocations: 1.016 MB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.003706, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.003976, allocations: 43.7 kB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.004271, allocations: 103.5 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.004464, allocations: 75.67 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.004621, allocations: 107.6 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.004699, allocations: 7.984 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.004781, allocations: 51.84 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.00485, allocations: 35.83 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.004864, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.004945, allocations: 43.92 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.00499, allocations: 27.86 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.005027, allocations: 19.92 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.005201, allocations: 99.66 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.005204, allocations: 0 / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005205, allocations: 0 / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005209, allocations: 4 kB / 379.5 MB, free: 1.137 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.0004103/0.005619, allocations: 455.8 kB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.005653, allocations: 8.031 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.005697, allocations: 16.83 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005858, allocations: 164.9 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.005875, allocations: 4.375 kB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.005891, allocations: 384 / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.006003, allocations: 62.94 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006012, allocations: 3.938 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.006021, allocations: 0 / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006027, allocations: 4 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.006058, allocations: 11.98 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.006345, allocations: 291.8 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.006458, allocations: 51.17 kB / 380.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.006488, allocations: 15.62 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.006499, allocations: 4 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.412e-05/0.006593, allocations: 72.98 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.006595, allocations: 0 / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003686/0.006963, allocations: 165.3 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.006993, allocations: 51.41 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.00713, allocations: 233.9 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.007144, allocations: 29.7 kB / 381.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.007196, allocations: 154.8 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.007221, allocations: 27.78 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.007255, allocations: 35.36 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007361, allocations: 0.4923 MB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.007388, allocations: 12 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.007423, allocations: 35.36 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.00748, allocations: 59.23 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007481, allocations: 0 / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001081/0.00759, allocations: 82.02 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.007602, allocations: 8 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.007606, allocations: 0 / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007617, allocations: 0 / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.007688, allocations: 23.92 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.007694, allocations: 7.938 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.007724, allocations: 7.953 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.00773, allocations: 4 kB / 382 MB, free: 14.36 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 7.372e-05/0.007804, allocations: 168.5 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.00782, allocations: 15.94 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.007973, allocations: 107.2 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.007977, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.00798, allocations: 0 / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.007983, allocations: 0 / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.008274, allocations: 396.9 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008275, allocations: 0 / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.008306, allocations: 16 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.008309, allocations: 4.031 kB / 382.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.008316, allocations: 0 / 382.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.00832, allocations: 7.938 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008321, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.008469, allocations: 255.4 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.008482, allocations: 15.89 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.0085, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.008542, allocations: 4 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.008573, allocations: 7.984 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.008586, allocations: 0 / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.008667, allocations: 188.1 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008667, allocations: 0 / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.008849, allocations: 27.92 kB / 383.2 MB, free: 13.08 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.0009435/0.009793, allocations: 430.9 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.009931, allocations: 59.59 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009933, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.009977, allocations: 35.59 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.01026, allocations: 32.03 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.01074, allocations: 230.2 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.01078, allocations: 71.33 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.01083, allocations: 16.95 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.01087, allocations: 16.5 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01087, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.004307/0.01517, allocations: 2.012 MB / 386.1 MB, free: 10.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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: 2.9140545963309705]