Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.0008812/0.0008812, allocations: 80.53 kB / 19.92 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.0009047/0.0009047, allocations: 169.9 kB / 23.21 MB, free: 1.34 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.8231/0.8231, allocations: 158.6 MB / 185 MB, free: 3.027 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.1278/0.1278, 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 406.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.614e-05, allocations: 6.078 kB / 406.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002759/0.002786, allocations: 1.676 MB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.003772, allocations: 0.7881 MB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.003844, allocations: 0 / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.004166, allocations: 43.75 kB / 409.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.004366, allocations: 55.7 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.004569, allocations: 95.62 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.004751, allocations: 95.7 kB / 409.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.004871, allocations: 4.234 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.004967, allocations: 55.75 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.005054, allocations: 23.92 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.005076, allocations: 4 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.005162, allocations: 47.91 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.005221, allocations: 19.92 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.005262, allocations: 15.94 kB / 409.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.005462, allocations: 111.6 kB / 409.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005465, allocations: 4 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005466, allocations: 3.938 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.005472, allocations: 4 kB / 410 MB, free: 15.08 MB / 394.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.0004886/0.00596, allocations: 337.7 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.006002, allocations: 8.031 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.006039, allocations: 34.69 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.006078, allocations: 20.83 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.006291, allocations: 146.2 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.006308, allocations: 4.375 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.006328, allocations: 384 / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.00647, allocations: 61.98 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.006482, allocations: 0 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.006491, allocations: 4 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.006496, allocations: 0 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.006597, allocations: 23.98 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.006917, allocations: 251.9 kB / 410.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.007042, allocations: 62.66 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.007079, allocations: 24.84 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.007093, allocations: 0 / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.00722, allocations: 75.33 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.007221, allocations: 3.938 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004439/0.007665, allocations: 177.4 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.007703, allocations: 59.34 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.007831, allocations: 194.2 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.008083, allocations: 25.7 kB / 411.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.008134, allocations: 104.1 kB / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.008161, allocations: 19.8 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.008197, allocations: 29.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.008297, allocations: 330.8 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.008338, allocations: 20 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/0.008384, allocations: 37.7 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.964e-05/0.008463, allocations: 61.64 kB / 412 MB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.008465, allocations: 0 / 412 MB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001213/0.008586, allocations: 101.6 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008599, allocations: 4 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.008605, allocations: 4.156 kB / 412.1 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.008618, allocations: 32 / 412.1 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.008693, allocations: 24.11 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008699, allocations: 3.984 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.00873, allocations: 11.94 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.008737, allocations: 4 kB / 412.2 MB, free: 12.65 MB / 394.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 7.641e-05/0.008813, allocations: 125.8 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.008824, allocations: 7.953 kB / 412.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.008982, allocations: 126.4 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008984, allocations: 0 / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.008988, allocations: 0 / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.008991, allocations: 4 kB / 412.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.009298, allocations: 374.3 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009299, allocations: 0 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.009324, allocations: 8 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009326, allocations: 0 / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.009335, allocations: 4.375 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009337, allocations: 3.984 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.009341, allocations: 7.938 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.00948, allocations: 208.3 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.009495, allocations: 19.94 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.00951, allocations: 3.938 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.009548, allocations: 7.984 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.009579, allocations: 11.88 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.009595, allocations: 7.984 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.009797, allocations: 140.1 kB / 413.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009797, allocations: 0 / 413.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.009968, allocations: 31.92 kB / 413.2 MB, free: 11.5 MB / 394.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.0009845/0.01095, allocations: 1.121 MB / 414.4 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.01109, allocations: 63.89 kB / 414.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01109, allocations: 0 / 414.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.01114, allocations: 31.98 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.01138, allocations: 36.34 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.01252, allocations: 1.654 MB / 416.2 MB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.145e-05/0.01258, allocations: 92.25 kB / 416.2 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.338e-05/0.01262, allocations: 8.5 kB / 416.3 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.01267, allocations: 40.48 kB / 416.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01267, allocations: 0 / 416.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02852, allocations: 4.203 MB / 420.5 MB, free: 4.004 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.471/6.499, allocations: 11.84 kB / 420.5 MB, free: 3.992 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.432754316367209]