Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0013/0.0013, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001377/0.001377, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2177/0.2177, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003016/0.003016, allocations: 59.91 kB / 0.4974 GB, free: 7.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3527, allocations: 66.02 MB / 0.5619 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002562/0.3553, allocations: 1.714 MB / 0.5635 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3567, allocations: 0.9671 MB / 0.5645 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.3568, allocations: 0 / 0.5645 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.357, allocations: 45 kB / 0.5645 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.3573, allocations: 93 kB / 0.5646 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.3575, allocations: 80.3 kB / 0.5647 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3576, allocations: 107.8 kB / 0.5648 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.3577, allocations: 7.078 kB / 0.5648 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.3578, allocations: 45.11 kB / 0.5648 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.3579, allocations: 40.67 kB / 0.5649 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3579, allocations: 3.031 kB / 0.5649 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-05/0.358, allocations: 46.3 kB / 0.5649 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.283e-05/0.358, allocations: 20.05 kB / 0.565 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.3581, allocations: 25.28 kB / 0.565 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.3583, allocations: 124 kB / 0.5651 GB, free: 31.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3583, allocations: 0 / 0.5651 GB, free: 31.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3583, allocations: 0 / 0.5651 GB, free: 31.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3583, allocations: 3 kB / 0.5651 GB, free: 31.53 MB / 446.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.0004758/0.3587, allocations: 330.8 kB / 0.5654 GB, free: 31.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.3588, allocations: 12.03 kB / 0.5654 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3588, allocations: 13.19 kB / 0.5654 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.359, allocations: 155.6 kB / 0.5656 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.359, allocations: 3.406 kB / 0.5656 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.3591, allocations: 4.656 kB / 0.5656 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3592, allocations: 57.86 kB / 0.5656 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3592, allocations: 7.281 kB / 0.5657 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3592, allocations: 7.922 kB / 0.5657 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3592, allocations: 0 / 0.5657 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.3593, allocations: 23.5 kB / 0.5657 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.3596, allocations: 230.9 kB / 0.5659 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3598, allocations: 60.09 kB / 0.566 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.3598, allocations: 17.92 kB / 0.566 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.3598, allocations: 0 / 0.566 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.36, allocations: 69 kB / 0.566 GB, free: 30.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.36, allocations: 0.5 kB / 0.566 GB, free: 30.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005205/0.3605, allocations: 189.4 kB / 0.5662 GB, free: 30.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.3605, allocations: 51.41 kB / 0.5663 GB, free: 30.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3607, allocations: 193.3 kB / 0.5665 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.3607, allocations: 29.64 kB / 0.5665 GB, free: 30.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.3607, allocations: 111.6 kB / 0.5666 GB, free: 30.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.3607, allocations: 22.41 kB / 0.5666 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.3608, allocations: 19.84 kB / 0.5666 GB, free: 30.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.3608, allocations: 335.6 kB / 0.567 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.3609, allocations: 14.53 kB / 0.567 GB, free: 29.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.3609, allocations: 39.47 kB / 0.567 GB, free: 29.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.361, allocations: 57.81 kB / 0.5671 GB, free: 29.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.361, allocations: 1.281 kB / 0.5671 GB, free: 29.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.3612, allocations: 117.8 kB / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3612, allocations: 6.359 kB / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3612, allocations: 0 / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3612, allocations: 0.8438 kB / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/0.3613, allocations: 18.83 kB / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3613, allocations: 4.234 kB / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3614, allocations: 3.578 kB / 0.5672 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3614, allocations: 5.516 kB / 0.5672 GB, free: 29.75 MB / 446.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 6.858e-05/0.3615, allocations: 129.3 kB / 0.5673 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.3615, allocations: 10.7 kB / 0.5673 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3617, allocations: 124.5 kB / 0.5675 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3617, allocations: 3.812 kB / 0.5675 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3617, allocations: 0 / 0.5675 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3617, allocations: 3.656 kB / 0.5675 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.3621, allocations: 344.3 kB / 0.5678 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3621, allocations: 3.938 kB / 0.5678 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.3621, allocations: 14.67 kB / 0.5678 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3621, allocations: 3.188 kB / 0.5678 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3621, allocations: 1.172 kB / 0.5678 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3621, allocations: 0 / 0.5678 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3621, allocations: 6.656 kB / 0.5678 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.3623, allocations: 224.2 kB / 0.568 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3624, allocations: 7.625 kB / 0.568 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3624, allocations: 0.6562 kB / 0.568 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.3625, allocations: 8.5 kB / 0.5681 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3625, allocations: 16.81 kB / 0.5681 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3625, allocations: 3.375 kB / 0.5681 GB, free: 29.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.3626, allocations: 144.1 kB / 0.5682 GB, free: 28.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3626, allocations: 0 / 0.5682 GB, free: 28.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3629, allocations: 20.06 kB / 0.5682 GB, free: 28.96 MB / 446.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.00182/0.3647, allocations: 497.6 kB / 0.5687 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.3649, allocations: 61.14 kB / 0.5688 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3649, allocations: 0 / 0.5688 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.365, allocations: 30.64 kB / 0.5688 GB, free: 28.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3653, allocations: 40.64 kB / 0.5688 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.3657, allocations: 229.9 kB / 0.5691 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.305e-05/0.3658, allocations: 91.73 kB / 0.5691 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.3658, allocations: 17.31 kB / 0.5692 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.3659, allocations: 20.31 kB / 0.5692 GB, free: 28.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3659, allocations: 4 kB / 0.5692 GB, free: 28.44 MB / 446.1 MB Notification: Performance of Templates: time 0.004561/0.3704, allocations: 1.928 MB / 0.5711 GB, free: 28.19 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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: 4.921210062995669]