Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001193/0.001193, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.00134/0.00134, allocations: 170.3 kB / 23.21 MB, free: 1.352 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.9103/0.9103, allocations: 158.6 MB / 185 MB, free: 3.047 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.1414/0.1414, allocations: 32.38 MB / 269.6 MB, free: 14.95 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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.77e-05, allocations: 5.938 kB / 406.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001993/0.002011, allocations: 1.68 MB / 408.6 MB, free: 468 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.002899, allocations: 0.7803 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.002967, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.003252, allocations: 39.78 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.00346, allocations: 59.62 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.003662, allocations: 87.7 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.003812, allocations: 99.67 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.003905, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.003984, allocations: 51.78 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.004051, allocations: 27.89 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004068, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.004147, allocations: 43.92 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.004198, allocations: 15.94 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.004243, allocations: 23.91 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.004412, allocations: 115.6 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004414, allocations: 4 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004415, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004419, allocations: 0 / 410 MB, free: 15.09 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.0004101/0.004829, allocations: 337.6 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004868, allocations: 12.03 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.004896, allocations: 30.75 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.004928, allocations: 12.84 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.005124, allocations: 150.2 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.005136, allocations: 384 / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.005153, allocations: 8.375 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.00527, allocations: 61.98 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.005279, allocations: 0 / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.005289, allocations: 3.984 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005293, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.005341, allocations: 23.92 kB / 410.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.005616, allocations: 252 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.005727, allocations: 54.69 kB / 410.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.005761, allocations: 20.84 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.005775, allocations: 4 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.005883, allocations: 75.28 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.005885, allocations: 3.984 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003918/0.006277, allocations: 185.3 kB / 411.2 MB, free: 13.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.006309, allocations: 55.41 kB / 411.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.006424, allocations: 194.2 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.006435, allocations: 29.7 kB / 411.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.006475, allocations: 96.14 kB / 411.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.006499, allocations: 27.78 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.006529, allocations: 21.72 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.006605, allocations: 334.8 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.006638, allocations: 15.98 kB / 411.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.006677, allocations: 37.7 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.448e-05/0.006751, allocations: 69.62 kB / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006752, allocations: 0 / 412 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001135/0.006866, allocations: 109.6 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.006878, allocations: 4 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006882, allocations: 0 / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.006893, allocations: 4.031 kB / 412.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.006956, allocations: 20.12 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.00696, allocations: 0 / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.006988, allocations: 11.92 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006994, allocations: 0 / 412.2 MB, free: 12.67 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.328e-05/0.007068, allocations: 129.8 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.007083, allocations: 7.953 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.007238, allocations: 122.7 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.00724, allocations: 0 / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.007245, allocations: 4 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.00725, allocations: 4 kB / 412.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.007806, allocations: 374.3 kB / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007807, allocations: 0 / 412.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.007833, allocations: 16 kB / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.007836, allocations: 0 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007843, allocations: 0 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.007845, allocations: 0 / 412.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.007847, allocations: 7.938 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.007978, allocations: 208.3 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.007991, allocations: 15.94 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.008006, allocations: 4 kB / 413 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.00805, allocations: 7.938 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.008077, allocations: 15.86 kB / 413.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.00809, allocations: 4 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.423e-05/0.008164, allocations: 148.1 kB / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008164, allocations: 0 / 413.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.008339, allocations: 23.94 kB / 413.2 MB, free: 11.52 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.0009664/0.009305, allocations: 1.125 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.009431, allocations: 63.91 kB / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.009433, allocations: 0 / 414.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.009475, allocations: 23.98 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.009699, allocations: 44.28 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.01085, allocations: 1.654 MB / 416.2 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.756e-05/0.0109, allocations: 88.3 kB / 416.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.812e-05/0.01094, allocations: 16.48 kB / 416.3 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.01099, allocations: 36.48 kB / 416.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01099, allocations: 4 kB / 416.3 MB, free: 8.344 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.02551, allocations: 4.199 MB / 420.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.467/6.493, allocations: 11.78 kB / 420.5 MB, free: 4.004 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.544579977169633]