Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001265/0.001265, allocations: 75.77 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.0009973/0.0009973, allocations: 165 kB / 24.56 MB, free: 8 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.9424/0.9424, allocations: 177.1 MB / 205 MB, free: 5.613 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.2932/0.2932, allocations: 32.8 MB / 294.3 MB, free: 1.277 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.11e-05, allocations: 9.203 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003245/0.003276, allocations: 1.77 MB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.004902, allocations: 1.009 MB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.641e-05/0.004998, allocations: 4 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.005339, allocations: 51.69 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.005731, allocations: 103.5 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.006001, allocations: 83.66 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.006208, allocations: 103.6 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.006303, allocations: 11.98 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.006421, allocations: 55.78 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.006511, allocations: 27.91 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.00653, allocations: 8 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.006641, allocations: 43.92 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.006714, allocations: 31.84 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.006764, allocations: 19.92 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.006997, allocations: 107.6 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.007001, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007002, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.007008, allocations: 3.984 kB / 379.5 MB, free: 1.145 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.0005799/0.007588, allocations: 479.6 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.007631, allocations: 8.031 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.007702, allocations: 24.78 kB / 380 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.007928, allocations: 169.2 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.007948, allocations: 384 / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.007972, allocations: 4.375 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.008129, allocations: 62.94 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.008141, allocations: 3.938 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.008155, allocations: 7.984 kB / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.008163, allocations: 0 / 380.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.008209, allocations: 11.94 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.008621, allocations: 295.9 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.008765, allocations: 59.17 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.008803, allocations: 15.62 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.008816, allocations: 4 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.008952, allocations: 72.97 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.008955, allocations: 0 / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005428/0.009497, allocations: 165.2 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.009544, allocations: 59.41 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.009793, allocations: 274.7 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.009811, allocations: 25.7 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.00991, allocations: 170.9 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.009945, allocations: 23.78 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.009995, allocations: 31.38 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.01015, allocations: 0.5001 MB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.01019, allocations: 16 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.01023, allocations: 27.36 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.01032, allocations: 55.25 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01032, allocations: 0 / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001661/0.01049, allocations: 97.52 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.0105, allocations: 8.031 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01051, allocations: 384 / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01053, allocations: 4 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.01062, allocations: 12 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01063, allocations: 4 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.01067, allocations: 7.984 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01068, allocations: 4 kB / 382.2 MB, free: 14.26 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 9.127e-05/0.01077, allocations: 164.5 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.01081, allocations: 23.91 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.01102, allocations: 115.1 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01102, allocations: 8 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01102, allocations: 0 / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01103, allocations: 0 / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.01144, allocations: 409 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01144, allocations: 0 / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.01148, allocations: 11.94 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01149, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.0115, allocations: 7.984 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0115, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0115, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.01172, allocations: 267.4 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01174, allocations: 11.91 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.01177, allocations: 4 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.01184, allocations: 4 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.01188, allocations: 7.984 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.0119, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.01205, allocations: 204.4 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01205, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.01238, allocations: 23.94 kB / 383.4 MB, free: 12.93 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.001347/0.01372, allocations: 444.5 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.01388, allocations: 55.59 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01388, allocations: 0 / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.01394, allocations: 31.61 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.0143, allocations: 31.77 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.0148, allocations: 258.5 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.897e-05/0.01486, allocations: 75.33 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.894e-05/0.01491, allocations: 25.33 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.01495, allocations: 16.5 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01495, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.005547/0.0205, allocations: 2.02 MB / 386.4 MB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.0677181519567966]