Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.0009155/0.0009155, allocations: 80.48 kB / 19.93 MB, free: 4.621 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.0008674/0.0008674, allocations: 173.9 kB / 23.21 MB, free: 1.344 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 0.8851/0.8851, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1288/0.1288, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.275e-05, allocations: 2.281 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002246/0.002259, allocations: 1.688 MB / 408.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.003213, allocations: 0.7685 MB / 409.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.003294, allocations: 7.938 kB / 409.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.003621, allocations: 51.75 kB / 409.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.003839, allocations: 51.7 kB / 409.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.004078, allocations: 87.69 kB / 409.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.004235, allocations: 103.6 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.004342, allocations: 8.172 kB / 409.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.004438, allocations: 51.83 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.00452, allocations: 27.91 kB / 409.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.004543, allocations: 4 kB / 409.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-05/0.004642, allocations: 43.92 kB / 409.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.0047, allocations: 23.86 kB / 409.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.004745, allocations: 19.92 kB / 409.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.004937, allocations: 119.6 kB / 410 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.004941, allocations: 0 / 410 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.004944, allocations: 0 / 410 MB, free: 10.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.004949, allocations: 3.938 kB / 410 MB, free: 10.37 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.0005011/0.00545, allocations: 337.6 kB / 410.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.0055, allocations: 12.03 kB / 410.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.005536, allocations: 34.75 kB / 410.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.005577, allocations: 8.891 kB / 410.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.005834, allocations: 155.4 kB / 410.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.005848, allocations: 384 / 410.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.005875, allocations: 12.31 kB / 410.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.006031, allocations: 57.98 kB / 410.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.006045, allocations: 3.953 kB / 410.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.006056, allocations: 4 kB / 410.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.006062, allocations: 0 / 410.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.092e-05/0.006123, allocations: 19.98 kB / 410.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.006477, allocations: 259.9 kB / 410.9 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.006607, allocations: 54.69 kB / 410.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/0.006647, allocations: 24.84 kB / 410.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.006665, allocations: 0 / 410.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.006807, allocations: 71.39 kB / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.006808, allocations: 0 / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004508/0.007259, allocations: 181.3 kB / 411.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.007297, allocations: 55.39 kB / 411.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.007449, allocations: 207.2 kB / 411.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.007464, allocations: 29.7 kB / 411.5 MB, free: 8.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.007509, allocations: 104.1 kB / 411.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.007536, allocations: 31.72 kB / 411.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.007568, allocations: 17.72 kB / 411.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.007657, allocations: 330.8 kB / 411.9 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.007696, allocations: 19.98 kB / 412 MB, free: 8.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.19e-05/0.007738, allocations: 37.7 kB / 412 MB, free: 8.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.007813, allocations: 65.69 kB / 412.1 MB, free: 8.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.007814, allocations: 0 / 412.1 MB, free: 8.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001315/0.007946, allocations: 113.5 kB / 412.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.00796, allocations: 4 kB / 412.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007965, allocations: 0 / 412.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.007979, allocations: 0 / 412.2 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.008053, allocations: 19.98 kB / 412.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008059, allocations: 4.125 kB / 412.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.008089, allocations: 0 / 412.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.008097, allocations: 8.094 kB / 412.2 MB, free: 7.926 MB / 346.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 8.287e-05/0.00818, allocations: 133.8 kB / 412.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.008194, allocations: 7.953 kB / 412.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.008382, allocations: 127.1 kB / 412.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.008386, allocations: 4 kB / 412.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.008391, allocations: 3.938 kB / 412.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.008396, allocations: 0 / 412.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.00875, allocations: 378.3 kB / 412.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.008752, allocations: 0 / 412.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.008779, allocations: 8 kB / 412.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.008784, allocations: 0 / 412.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.008794, allocations: 7.984 kB / 412.9 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.008796, allocations: 4.031 kB / 412.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.008799, allocations: 3.938 kB / 412.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.008965, allocations: 208.3 kB / 413.1 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.008981, allocations: 11.91 kB / 413.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.008999, allocations: 4.375 kB / 413.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.00904, allocations: 7.984 kB / 413.1 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.00908, allocations: 11.92 kB / 413.1 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.009104, allocations: 8 kB / 413.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.273e-05/0.009197, allocations: 151.9 kB / 413.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009197, allocations: 0 / 413.3 MB, free: 6.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.009398, allocations: 31.88 kB / 413.3 MB, free: 6.75 MB / 346.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.0011/0.0105, allocations: 1.125 MB / 414.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.01067, allocations: 67.91 kB / 414.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01067, allocations: 0 / 414.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.01072, allocations: 20 kB / 414.5 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.01098, allocations: 39.84 kB / 414.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01227, allocations: 1.686 MB / 416.2 MB, free: 3.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.01234, allocations: 100.3 kB / 416.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.01238, allocations: 16.48 kB / 416.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.01244, allocations: 36.48 kB / 416.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01244, allocations: 3.938 kB / 416.4 MB, free: 3.566 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.02798, allocations: 4.257 MB / 420.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/6.674, allocations: 8.047 kB / 420.6 MB, free: 15.19 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.600695637054741]