Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001402/0.001402, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001549/0.001549, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2418/0.2418, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.268e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002697/0.00273, allocations: 1.813 MB / 348.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.004055, allocations: 0.8584 MB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.004151, allocations: 3.938 kB / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.004617, allocations: 159.4 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.004963, allocations: 143.4 kB / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.005323, allocations: 147.6 kB / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.005559, allocations: 219.3 kB / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.00567, allocations: 17.8 kB / 350.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.005814, allocations: 127.6 kB / 350.5 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005962, allocations: 115.7 kB / 350.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.005992, allocations: 8 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.006085, allocations: 47.91 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.006165, allocations: 51.78 kB / 350.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.006232, allocations: 43.78 kB / 350.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.006462, allocations: 195.3 kB / 350.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.006466, allocations: 0 / 350.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006467, allocations: 0 / 350.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.006473, allocations: 0 / 350.9 MB, free: 5.793 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006227/0.007096, allocations: 456.7 kB / 351.4 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.007143, allocations: 8.031 kB / 351.4 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.007223, allocations: 36.77 kB / 351.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.0075, allocations: 208.8 kB / 351.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.007518, allocations: 4.375 kB / 351.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.00755, allocations: 12.36 kB / 351.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.007766, allocations: 95.92 kB / 351.7 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.007781, allocations: 7.938 kB / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.007795, allocations: 0 / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.0078, allocations: 0 / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.007921, allocations: 51.89 kB / 351.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.008347, allocations: 368.7 kB / 352.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.008608, allocations: 125.2 kB / 352.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.008696, allocations: 37.7 kB / 352.3 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.008716, allocations: 8 kB / 352.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.008909, allocations: 120.9 kB / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.011e-06/0.00891, allocations: 0 / 352.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008575/0.009767, allocations: 376.7 kB / 352.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.009803, allocations: 77.11 kB / 352.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.01007, allocations: 368.2 kB / 353.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.01009, allocations: 29.7 kB / 353.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.01014, allocations: 140.3 kB / 353.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.01019, allocations: 47.64 kB / 353.5 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.01023, allocations: 37.7 kB / 353.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.01029, allocations: 342.8 kB / 353.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-05/0.01038, allocations: 39.98 kB / 353.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.01047, allocations: 71.41 kB / 353.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.01066, allocations: 139.5 kB / 354.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01066, allocations: 0 / 354.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002763/0.01094, allocations: 186.1 kB / 354.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01096, allocations: 8 kB / 354.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.01097, allocations: 0 / 354.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.01099, allocations: 0 / 354.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01113, allocations: 39.97 kB / 354.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01113, allocations: 3.938 kB / 354.3 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.01121, allocations: 8.062 kB / 354.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01123, allocations: 16 kB / 354.3 MB, free: 2.156 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.521e-05/0.01132, allocations: 153.8 kB / 354.5 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.01136, allocations: 31.81 kB / 354.5 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.01173, allocations: 219.2 kB / 354.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01173, allocations: 0 / 354.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01173, allocations: 0 / 354.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01174, allocations: 4 kB / 354.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.0123, allocations: 0.5653 MB / 355.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01231, allocations: 4 kB / 355.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.01237, allocations: 23.94 kB / 355.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01237, allocations: 0 / 355.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.01238, allocations: 11.97 kB / 355.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01239, allocations: 8.25 kB / 355.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01239, allocations: 3.938 kB / 355.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.01272, allocations: 390.7 kB / 355.7 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.01274, allocations: 23.84 kB / 355.7 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.01278, allocations: 12.06 kB / 355.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.01292, allocations: 4 kB / 355.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.01298, allocations: 23.84 kB / 355.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.013, allocations: 8 kB / 355.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.01318, allocations: 271 kB / 356.1 MB, free: 352 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01318, allocations: 0 / 356.1 MB, free: 352 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.0135, allocations: 47.88 kB / 356.1 MB, free: 304 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002191/0.01569, allocations: 491.8 kB / 356.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.01605, allocations: 127.8 kB / 356.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01605, allocations: 0 / 356.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.0162, allocations: 59.91 kB / 356.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.01681, allocations: 70.75 kB / 356.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.01774, allocations: 462.4 kB / 357.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.01793, allocations: 136.8 kB / 357.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.515e-05/0.01803, allocations: 38.19 kB / 357.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.0181, allocations: 32.48 kB / 357.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0181, allocations: 0 / 357.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Templates: time 0.008131/0.02623, allocations: 2.901 MB / 360.4 MB, free: 12.09 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.193587520974688]