Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 103.2 kB / 16.27 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 189.9 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2153/0.2153, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB 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.002189/0.002189, allocations: 73.61 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1067, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003367/0.1102, allocations: 1.697 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.1116, allocations: 0.7961 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1117, allocations: 8 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.1121, allocations: 47.75 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.1125, allocations: 55.75 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.1128, allocations: 87.77 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.113, allocations: 87.7 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1132, allocations: 24.16 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1133, allocations: 43.78 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.1134, allocations: 27.8 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1134, allocations: 4 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1135, allocations: 39.98 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.1136, allocations: 23.91 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.1137, allocations: 31.75 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.114, allocations: 127.6 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.114, allocations: 0 / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.114, allocations: 4 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.114, allocations: 0 / 443.7 MB, free: 3.691 MB / 318.1 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.0006404/0.1147, allocations: 426.7 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1147, allocations: 15.89 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.1148, allocations: 30.75 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.1149, allocations: 8.844 kB / 444.2 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1151, allocations: 219.9 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1151, allocations: 4.375 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1152, allocations: 7.938 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1154, allocations: 53.67 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1154, allocations: 0 / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1154, allocations: 4 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1154, allocations: 0 / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.1155, allocations: 19.92 kB / 444.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.1159, allocations: 288.9 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.116, allocations: 58.67 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.1161, allocations: 20.84 kB / 444.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1161, allocations: 7.938 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1164, allocations: 71.33 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1164, allocations: 0 / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005636/0.117, allocations: 189.1 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.117, allocations: 51.41 kB / 445.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.1172, allocations: 230.6 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1172, allocations: 25.7 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.1173, allocations: 112.1 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1173, allocations: 23.64 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.1173, allocations: 25.72 kB / 445.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.1174, allocations: 326.8 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.1175, allocations: 20 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.1175, allocations: 37.7 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1176, allocations: 57.64 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1177, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.1178, allocations: 105.4 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1179, allocations: 4 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1179, allocations: 4.031 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1179, allocations: 4 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.118, allocations: 15.98 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.118, allocations: 0 / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.1181, allocations: 7.938 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1181, allocations: 4 kB / 446.1 MB, free: 1.016 MB / 318.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 (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 9.017e-05/0.1182, allocations: 133.3 kB / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1182, allocations: 15.81 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.1183, allocations: 29.33 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1183, allocations: 4 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1183, allocations: 0 / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1183, allocations: 3.938 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.1187, allocations: 391.3 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1187, allocations: 3.984 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.1188, allocations: 11.94 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1188, allocations: 3.938 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1188, allocations: 8.031 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1188, allocations: 0 / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1188, allocations: 0 / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.119, allocations: 204.8 kB / 446.9 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.1191, allocations: 88.91 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1191, allocations: 11.88 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1192, allocations: 4 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.1193, allocations: 15.98 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1193, allocations: 4.109 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1194, allocations: 171.2 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1195, allocations: 0 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1197, allocations: 27.98 kB / 447.3 MB, free: 15.8 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001537/0.1213, allocations: 1.096 MB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.1215, allocations: 71.91 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1215, allocations: 0 / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.1216, allocations: 27.94 kB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1219, allocations: 27.2 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1238, allocations: 1.72 MB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1242, allocations: 0.7117 MB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.1243, allocations: 17.19 kB / 450.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.1243, allocations: 39.42 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1243, allocations: 0 / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/0.1874, allocations: 3.469 MB / 454.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.136, allocations: 11.88 kB / 454.4 MB, free: 8.543 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches