Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.001401/0.001401, allocations: 116.9 kB / 17.13 MB, free: 5.777 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.001374/0.001374, allocations: 192.6 kB / 20.08 MB, free: 2.871 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.609/1.609, allocations: 207.6 MB / 230.5 MB, free: 3.996 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.3684/0.3684, allocations: 44.23 MB / 326.5 MB, free: 6.82 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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.002213/0.002213, allocations: 75.89 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3148, allocations: 60.99 MB / 0.511 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002652/0.3175, allocations: 1.808 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3186, allocations: 0.8839 MB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.3187, allocations: 5.812 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.3192, allocations: 299.3 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3195, allocations: 212.6 kB / 0.5141 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3198, allocations: 138.3 kB / 0.5142 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.3201, allocations: 242.1 kB / 0.5144 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.3201, allocations: 17.59 kB / 0.5145 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3203, allocations: 124.1 kB / 0.5146 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.3205, allocations: 211.3 kB / 0.5148 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3205, allocations: 6.406 kB / 0.5148 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.3206, allocations: 48.81 kB / 0.5148 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3207, allocations: 129.9 kB / 0.515 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.3208, allocations: 148.7 kB / 0.5151 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.3211, allocations: 358.6 kB / 0.5154 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3211, allocations: 0 / 0.5154 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3211, allocations: 3.938 kB / 0.5154 GB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.3212, allocations: 0 / 0.5154 GB, free: 10.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008142/0.322, allocations: 0.7379 MB / 0.5162 GB, free: 9.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.322, allocations: 13.48 kB / 0.5162 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.322, allocations: 36.12 kB / 0.5162 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.3221, allocations: 49.23 kB / 0.5163 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.3227, allocations: 448 kB / 0.5167 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3227, allocations: 5.75 kB / 0.5167 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3227, allocations: 6.688 kB / 0.5167 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3229, allocations: 87.97 kB / 0.5168 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3229, allocations: 5.312 kB / 0.5168 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3229, allocations: 4 kB / 0.5168 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3229, allocations: 1.375 kB / 0.5168 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.323, allocations: 24.48 kB / 0.5168 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.3233, allocations: 368.7 kB / 0.5172 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.3235, allocations: 113 kB / 0.5173 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.3236, allocations: 33.7 kB / 0.5173 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3236, allocations: 4 kB / 0.5173 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.3238, allocations: 117 kB / 0.5174 GB, free: 8.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.3238, allocations: 3.984 kB / 0.5174 GB, free: 8.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000398/0.3242, allocations: 193.2 kB / 0.5176 GB, free: 7.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.3242, allocations: 81.11 kB / 0.5177 GB, free: 7.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.325, allocations: 1.003 MB / 0.5187 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.325, allocations: 29.7 kB / 0.5187 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3251, allocations: 228.1 kB / 0.5189 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.3251, allocations: 31.73 kB / 0.5189 GB, free: 6.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.3252, allocations: 33.72 kB / 0.519 GB, free: 6.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.3252, allocations: 362.8 kB / 0.5193 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.3253, allocations: 27.98 kB / 0.5194 GB, free: 6.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.3254, allocations: 59.41 kB / 0.5194 GB, free: 6.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3255, allocations: 95.86 kB / 0.5195 GB, free: 5.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3255, allocations: 3.938 kB / 0.5195 GB, free: 5.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002553/0.3258, allocations: 165.3 kB / 0.5197 GB, free: 5.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3258, allocations: 7.938 kB / 0.5197 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3258, allocations: 4 kB / 0.5197 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3258, allocations: 0 / 0.5197 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3259, allocations: 23.92 kB / 0.5197 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3259, allocations: 8.062 kB / 0.5197 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.884e-05/0.326, allocations: 11.95 kB / 0.5197 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.326, allocations: 4 kB / 0.5197 GB, free: 5.719 MB / 382.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001776/0.3262, allocations: 225.6 kB / 0.5199 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.3263, allocations: 51.67 kB / 0.52 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.3263, allocations: 59.84 kB / 0.52 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3263, allocations: 4 kB / 0.52 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3263, allocations: 0 / 0.52 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3263, allocations: 4 kB / 0.52 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3266, allocations: 337.4 kB / 0.5204 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3266, allocations: 0 / 0.5204 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.3266, allocations: 8 kB / 0.5204 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3266, allocations: 0 / 0.5204 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3266, allocations: 8 kB / 0.5204 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3266, allocations: 7.922 kB / 0.5204 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3266, allocations: 0 / 0.5204 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.3269, allocations: 205.5 kB / 0.5206 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.3271, allocations: 136.8 kB / 0.5207 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3271, allocations: 4.125 kB / 0.5207 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.3272, allocations: 11.98 kB / 0.5207 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.3272, allocations: 4 kB / 0.5207 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3273, allocations: 11.98 kB / 0.5208 GB, free: 4.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005499/0.3278, allocations: 0.7448 MB / 0.5215 GB, free: 3.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3278, allocations: 0 / 0.5215 GB, free: 3.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.3281, allocations: 51.92 kB / 0.5215 GB, free: 3.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001718/0.3298, allocations: 1.046 MB / 0.5225 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.33, allocations: 83.89 kB / 0.5226 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.33, allocations: 0 / 0.5226 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.3301, allocations: 40.3 kB / 0.5227 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.3305, allocations: 70.38 kB / 0.5227 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.335, allocations: 4.415 MB / 0.527 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.3355, allocations: 0.8427 MB / 0.5279 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.3356, allocations: 54.94 kB / 0.5279 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.3358, allocations: 143.4 kB / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3358, allocations: 0 / 0.5281 GB, free: 12.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.3694, allocations: 8.819 MB / 0.5367 GB, free: 4.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.208, allocations: 11.86 kB / 0.5367 GB, free: 4.039 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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: 12.38311774795875]