Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001702/0.001702, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001407/0.001407, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.504/1.504, 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.232/0.232, allocations: 46.97 MB / 361.6 MB, free: 4.078 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.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.89 kB / 0.4974 GB, free: 7.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 66.03 MB / 0.5619 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003848/0.3316, allocations: 1.872 MB / 0.5637 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.3338, allocations: 1.073 MB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3339, allocations: 3.938 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.3344, allocations: 259.3 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.335, allocations: 231.2 kB / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.3353, allocations: 119.6 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.3357, allocations: 279.2 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3358, allocations: 20.78 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.336, allocations: 143.5 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.3363, allocations: 207.4 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.3364, allocations: 8 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3365, allocations: 67.97 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3366, allocations: 59.77 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.3367, allocations: 79.34 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.3371, allocations: 266.4 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3371, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3371, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3371, allocations: 4 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009335/0.3381, allocations: 0.5118 MB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3381, allocations: 12.03 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.3382, allocations: 28.75 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.3386, allocations: 232.8 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3386, allocations: 8.375 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.3387, allocations: 12.11 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.339, allocations: 115.3 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.339, allocations: 4 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.339, allocations: 7.938 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.339, allocations: 0 / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3391, allocations: 51.91 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.3398, allocations: 424.4 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.3402, allocations: 117.2 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3403, allocations: 45.81 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3403, allocations: 11.94 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.3405, allocations: 121 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3406, allocations: 0 / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00143/0.342, allocations: 0.5164 MB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.342, allocations: 88.98 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.3426, allocations: 0.5054 MB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3426, allocations: 33.7 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3428, allocations: 172.5 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.3429, allocations: 71.42 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.3429, allocations: 41.7 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3431, allocations: 350.8 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.3432, allocations: 59.97 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.3434, allocations: 87.41 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.3437, allocations: 171.5 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3437, allocations: 0 / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004509/0.3441, allocations: 241.3 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3442, allocations: 14.06 kB / 0.5703 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3442, allocations: 11.94 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3442, allocations: 0 / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3443, allocations: 43.97 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3443, allocations: 0 / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.3444, allocations: 12.06 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3445, allocations: 8 kB / 0.5704 GB, free: 11.11 MB / 414.1 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 (26): * Single equations (assignments): 26 * 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.0001841/0.3446, allocations: 178.3 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.3447, allocations: 35.77 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/0.3453, allocations: 289.2 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3453, allocations: 7.938 kB / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3453, allocations: 0 / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3453, allocations: 0 / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3463, allocations: 0.6917 MB / 0.5716 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3463, allocations: 0 / 0.5716 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3464, allocations: 31.94 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3465, allocations: 7.984 kB / 0.5716 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3465, allocations: 8 kB / 0.5716 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3465, allocations: 0 / 0.5716 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3465, allocations: 4 kB / 0.5716 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.347, allocations: 447.3 kB / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.3471, allocations: 39.92 kB / 0.5721 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.3471, allocations: 11.98 kB / 0.5721 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3473, allocations: 8 kB / 0.5721 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.3473, allocations: 19.91 kB / 0.5721 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3474, allocations: 15.98 kB / 0.5721 GB, free: 9.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003909/0.3478, allocations: 379.3 kB / 0.5725 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3478, allocations: 0 / 0.5725 GB, free: 8.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.3481, allocations: 55.86 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.002106/0.3502, allocations: 0.5539 MB / 0.5731 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.3507, allocations: 155.8 kB / 0.5732 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3507, allocations: 0 / 0.5732 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.3508, allocations: 83.83 kB / 0.5733 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.3514, allocations: 66.69 kB / 0.5734 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3525, allocations: 0.6466 MB / 0.574 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3527, allocations: 178.4 kB / 0.5742 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.3527, allocations: 35.42 kB / 0.5742 GB, free: 7.289 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3528, allocations: 0 / 0.5742 GB, free: 7.289 MB / 414.1 MB Notification: Performance of Templates: time 0.007074/0.3598, allocations: 3.992 MB / 0.5781 GB, free: 3.305 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.010497985000256]