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.001887/0.001887, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002174/0.002174, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2419/0.2419, allocations: 46.94 MB / 360.9 MB, free: 4.059 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.002144/0.002144, allocations: 63.91 kB / 0.4967 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4167, allocations: 66.04 MB / 0.5612 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004769/0.4214, allocations: 1.866 MB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.4243, allocations: 1.077 MB / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.4244, allocations: 7.938 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007083/0.4251, allocations: 247.4 kB / 0.5643 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.4259, allocations: 243.2 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.4264, allocations: 115.7 kB / 0.5646 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.4269, allocations: 271.2 kB / 0.5649 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.427, allocations: 21.95 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.4272, allocations: 139.5 kB / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.4275, allocations: 203.4 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.4276, allocations: 8 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.4278, allocations: 75.91 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.4279, allocations: 63.75 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.4281, allocations: 75.41 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.4286, allocations: 265.1 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4286, allocations: 0 / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4286, allocations: 4 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4286, allocations: 0 / 0.5657 GB, free: 15.48 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.001121/0.4297, allocations: 0.5118 MB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.4298, allocations: 12.03 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.4299, allocations: 28.75 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.4304, allocations: 244.8 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4305, allocations: 8.375 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.4305, allocations: 8.125 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.4309, allocations: 107.3 kB / 0.5666 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.4309, allocations: 4 kB / 0.5666 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4309, allocations: 4 kB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4309, allocations: 0 / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.4311, allocations: 59.88 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008279/0.432, allocations: 420.5 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.4325, allocations: 125.2 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.4327, allocations: 37.83 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4327, allocations: 11.94 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/0.4331, allocations: 129 kB / 0.5673 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.4331, allocations: 0 / 0.5673 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001996/0.435, allocations: 0.5171 MB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.4351, allocations: 81.11 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009065/0.436, allocations: 0.5054 MB / 0.5684 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.4361, allocations: 37.64 kB / 0.5685 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.4363, allocations: 168.5 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4364, allocations: 75.41 kB / 0.5687 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4365, allocations: 41.7 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.4368, allocations: 358.7 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.437, allocations: 55.98 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.4372, allocations: 103.3 kB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.4377, allocations: 159.6 kB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4377, allocations: 0 / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005377/0.4383, allocations: 245.2 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4383, allocations: 4 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4383, allocations: 7.938 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.4383, allocations: 4.062 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.4386, allocations: 43.92 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4386, allocations: 0 / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.4388, allocations: 11.98 kB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.4388, allocations: 8 kB / 0.5697 GB, free: 11.16 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.0003116/0.4391, allocations: 174.3 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.4392, allocations: 35.77 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007887/0.44, allocations: 288.5 kB / 0.5702 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.44, allocations: 4 kB / 0.5702 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.44, allocations: 4 kB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.44, allocations: 3.984 kB / 0.5702 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.4413, allocations: 0.6839 MB / 0.5708 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4413, allocations: 3.938 kB / 0.5708 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.4415, allocations: 31.98 kB / 0.5709 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.4415, allocations: 8 kB / 0.5709 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4415, allocations: 8 kB / 0.5709 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.4415, allocations: 8.109 kB / 0.5709 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.4415, allocations: 11.92 kB / 0.5709 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.4423, allocations: 447.5 kB / 0.5713 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.4423, allocations: 31.81 kB / 0.5714 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.4424, allocations: 8 kB / 0.5714 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.4426, allocations: 11.98 kB / 0.5714 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.4427, allocations: 23.84 kB / 0.5714 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.4427, allocations: 12 kB / 0.5714 GB, free: 9.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006361/0.4434, allocations: 383.1 kB / 0.5718 GB, free: 8.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4434, allocations: 4 kB / 0.5718 GB, free: 8.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.444, allocations: 51.94 kB / 0.5718 GB, free: 8.855 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.002638/0.4466, allocations: 0.5528 MB / 0.5724 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.4472, allocations: 151.8 kB / 0.5725 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4472, allocations: 0 / 0.5725 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.4474, allocations: 80.22 kB / 0.5726 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.448, allocations: 80.56 kB / 0.5727 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.4492, allocations: 0.6055 MB / 0.5733 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.4495, allocations: 182.4 kB / 0.5734 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.4496, allocations: 37.92 kB / 0.5735 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.4497, allocations: 27.44 kB / 0.5735 GB, free: 7.336 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4497, allocations: 0 / 0.5735 GB, free: 7.336 MB / 414.1 MB Notification: Performance of Templates: time 0.009079/0.4587, allocations: 3.628 MB / 0.577 GB, free: 3.762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/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: 5.501096119638532]