Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 108 kB / 17.07 MB, free: 5.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 191.7 kB / 20.03 MB, free: 2.949 MB / 14.72 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 1.554/1.554, allocations: 205.1 MB / 227.9 MB, free: 4.383 MB / 174.1 MB " [Timeout remaining time 178] 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.3888/0.3888, allocations: 43.51 MB / 320.8 MB, free: 9.055 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003628/0.003628, allocations: 68.47 kB / 450.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3402, allocations: 57.79 MB / 0.496 GB, free: 19.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002629/0.3429, allocations: 1.712 MB / 0.4976 GB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.344, allocations: 0.8049 MB / 0.4984 GB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.3441, allocations: 8.969 kB / 0.4984 GB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.3444, allocations: 105.4 kB / 0.4985 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3447, allocations: 83.47 kB / 0.4986 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.3449, allocations: 93.22 kB / 0.4987 GB, free: 17.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.3451, allocations: 124 kB / 0.4988 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3452, allocations: 19.97 kB / 0.4988 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.3453, allocations: 61 kB / 0.4989 GB, free: 17.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3454, allocations: 68.59 kB / 0.499 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3454, allocations: 5.594 kB / 0.499 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.3455, allocations: 43.89 kB / 0.499 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.3456, allocations: 26.89 kB / 0.499 GB, free: 17.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.3457, allocations: 45.28 kB / 0.4991 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3459, allocations: 152.7 kB / 0.4992 GB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3459, allocations: 0 / 0.4992 GB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3459, allocations: 0 / 0.4992 GB, free: 17.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3459, allocations: 1.156 kB / 0.4992 GB, free: 17.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005323/0.3465, allocations: 440.9 kB / 0.4997 GB, free: 16.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3465, allocations: 12.39 kB / 0.4997 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.3465, allocations: 37.16 kB / 0.4997 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.3466, allocations: 19.09 kB / 0.4997 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.3469, allocations: 239.1 kB / 0.4999 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3469, allocations: 2.5 kB / 0.5 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3469, allocations: 6.812 kB / 0.5 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3471, allocations: 68.12 kB / 0.5 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3471, allocations: 3.938 kB / 0.5 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3471, allocations: 1.062 kB / 0.5 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3471, allocations: 5.078 kB / 0.5 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.3472, allocations: 29.8 kB / 0.5001 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.3475, allocations: 322.4 kB / 0.5004 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.3477, allocations: 75.77 kB / 0.5004 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.3478, allocations: 27.97 kB / 0.5005 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3478, allocations: 6.344 kB / 0.5005 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.348, allocations: 79.83 kB / 0.5005 GB, free: 15.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.348, allocations: 0 / 0.5005 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005779/0.3486, allocations: 230.9 kB / 0.5008 GB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3486, allocations: 56.53 kB / 0.5008 GB, free: 15.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3488, allocations: 249.9 kB / 0.5011 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3488, allocations: 26.86 kB / 0.5011 GB, free: 15.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.3489, allocations: 111.2 kB / 0.5012 GB, free: 15.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3489, allocations: 37.31 kB / 0.5012 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.349, allocations: 34.86 kB / 0.5013 GB, free: 15.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.349, allocations: 326.9 kB / 0.5016 GB, free: 15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.3491, allocations: 28.02 kB / 0.5016 GB, free: 14.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.3492, allocations: 45.64 kB / 0.5016 GB, free: 14.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3493, allocations: 89.8 kB / 0.5017 GB, free: 14.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3493, allocations: 4 kB / 0.5017 GB, free: 14.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002083/0.3495, allocations: 128.5 kB / 0.5019 GB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3496, allocations: 5.75 kB / 0.5019 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3496, allocations: 0 / 0.5019 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3496, allocations: 1.094 kB / 0.5019 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3497, allocations: 26.67 kB / 0.5019 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3497, allocations: 4.875 kB / 0.5019 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.3498, allocations: 2.094 kB / 0.5019 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3498, allocations: 2.969 kB / 0.5019 GB, free: 14.8 MB / 382.1 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 (13): * Single equations (assignments): 13 * 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.26e-05/0.3499, allocations: 145.5 kB / 0.502 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3499, allocations: 18.25 kB / 0.5021 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.3499, allocations: 22.33 kB / 0.5021 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.35, allocations: 1.156 kB / 0.5021 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.35, allocations: 7.875 kB / 0.5021 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.35, allocations: 1.031 kB / 0.5021 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.3504, allocations: 443.6 kB / 0.5025 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3504, allocations: 9.406 kB / 0.5025 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.3505, allocations: 11.81 kB / 0.5025 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3505, allocations: 1.344 kB / 0.5025 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3505, allocations: 5.391 kB / 0.5025 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3505, allocations: 5.375 kB / 0.5025 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3505, allocations: 9.312 kB / 0.5025 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.3507, allocations: 223.6 kB / 0.5028 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.3508, allocations: 100.4 kB / 0.5029 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3508, allocations: 2.156 kB / 0.5029 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.3509, allocations: 6.438 kB / 0.5029 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3509, allocations: 7.828 kB / 0.5029 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3509, allocations: 5.469 kB / 0.5029 GB, free: 13.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3511, allocations: 186.9 kB / 0.5031 GB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3511, allocations: 5.375 kB / 0.5031 GB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3513, allocations: 22.59 kB / 0.5031 GB, free: 13.77 MB / 382.1 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 (11): * Single equations (assignments): 9 * 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.001882/0.3532, allocations: 1.137 MB / 0.5042 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3535, allocations: 87.91 kB / 0.5043 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3535, allocations: 0 / 0.5043 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.3536, allocations: 40.7 kB / 0.5043 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3539, allocations: 33.34 kB / 0.5043 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3556, allocations: 1.886 MB / 0.5062 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.3557, allocations: 0.7179 MB / 0.5069 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.3558, allocations: 25.2 kB / 0.5069 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.3558, allocations: 53.19 kB / 0.507 GB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3559, allocations: 1.344 kB / 0.507 GB, free: 10.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.3843, allocations: 3.927 MB / 0.5108 GB, free: 8.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.67, allocations: 1.375 kB / 0.5108 GB, free: 8.148 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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: 11.777741207974032]