Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001573/0.001573, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001916/0.001916, allocations: 210 kB / 24.48 MB, free: 3.938 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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 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.24/0.24, allocations: 46.98 MB / 361.6 MB, free: 4.012 MB / 286.1 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 59.91 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3678, allocations: 66.03 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003372/0.3712, allocations: 1.717 MB / 0.5636 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3731, allocations: 0.9676 MB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.3731, allocations: 0 / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3734, allocations: 47.77 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.3737, allocations: 91.61 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.3739, allocations: 83.66 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3741, allocations: 103.6 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3742, allocations: 15.97 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.3743, allocations: 39.8 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.3744, allocations: 35.78 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3744, allocations: 4 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.3745, allocations: 39.98 kB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.3746, allocations: 19.91 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.3746, allocations: 31.75 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3748, allocations: 125.9 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3748, allocations: 0 / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3748, allocations: 4 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3749, allocations: 0 / 0.5651 GB, free: 0.793 MB / 398.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.0005717/0.3754, allocations: 349.5 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3755, allocations: 12.03 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3755, allocations: 8.891 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3758, allocations: 147 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3758, allocations: 384 / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.3758, allocations: 20.11 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.376, allocations: 57.61 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.376, allocations: 0 / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.376, allocations: 0 / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.376, allocations: 4 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.3761, allocations: 15.98 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.3765, allocations: 232.5 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3766, allocations: 58.61 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.3767, allocations: 20.86 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3767, allocations: 4 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.3769, allocations: 71.31 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3769, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.3775, allocations: 189.5 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3775, allocations: 55.41 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3777, allocations: 198.3 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3777, allocations: 29.7 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.3778, allocations: 104.1 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3779, allocations: 23.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.3779, allocations: 33.7 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3781, allocations: 326.8 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.3781, allocations: 24.17 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.3782, allocations: 45.64 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3783, allocations: 53.7 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3783, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.3785, allocations: 109.5 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3786, allocations: 8 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3786, allocations: 4.031 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3786, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3787, allocations: 15.98 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3787, allocations: 4 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.3787, allocations: 3.938 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3787, allocations: 8 kB / 0.5673 GB, free: 14.42 MB / 414.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.0001146/0.3789, allocations: 129.7 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.3789, allocations: 15.91 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.3792, allocations: 123 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3792, allocations: 4 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3792, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3792, allocations: 0 / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.3797, allocations: 351.1 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.3797, allocations: 3.984 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.3797, allocations: 12.27 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3797, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3797, allocations: 4 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3797, allocations: 4.016 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3797, allocations: 7.922 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.38, allocations: 216.3 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.38, allocations: 11.95 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.3801, allocations: 7.984 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.3801, allocations: 0 / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.3802, allocations: 15.92 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3802, allocations: 4 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.3803, allocations: 152.2 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3803, allocations: 4 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.3806, allocations: 23.94 kB / 0.5683 GB, free: 13.27 MB / 414.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.00184/0.3825, allocations: 497.6 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3827, allocations: 55.97 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3827, allocations: 0 / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.3827, allocations: 32.05 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3831, allocations: 42.84 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.3837, allocations: 272.3 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3838, allocations: 96.11 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.3839, allocations: 15.44 kB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3839, allocations: 0 / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of Templates: time 0.004487/0.3884, allocations: 1.987 MB / 0.5712 GB, free: 10.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.142823574598879]