Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.001524/0.001524, allocations: 100.7 kB / 16.4 MB, free: 6.441 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.001585/0.001585, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2107/0.2107, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.002076/0.002076, allocations: 69.45 kB / 441.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1083, allocations: 57.79 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00291/0.1113, allocations: 1.696 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1126, allocations: 0.7961 MB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.1127, allocations: 7.875 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1129, allocations: 47.81 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1132, allocations: 55.7 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1134, allocations: 91.75 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1136, allocations: 91.7 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.1137, allocations: 20.19 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.1138, allocations: 35.86 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.1138, allocations: 35.8 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1139, allocations: 4 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.114, allocations: 39.97 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.114, allocations: 27.86 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.1141, allocations: 35.73 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1143, allocations: 115.5 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1143, allocations: 4 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1143, allocations: 0 / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1143, allocations: 0 / 0.4905 GB, free: 9.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005304/0.1149, allocations: 418.7 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1149, allocations: 15.89 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.1149, allocations: 34.75 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.115, allocations: 8.891 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1153, allocations: 220.8 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1153, allocations: 384 / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1153, allocations: 11.94 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1154, allocations: 49.67 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1155, allocations: 0 / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1155, allocations: 7.984 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1155, allocations: 11.94 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.1156, allocations: 15.98 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1159, allocations: 288.8 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1161, allocations: 54.67 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1162, allocations: 24.86 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1162, allocations: 3.984 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1164, allocations: 67.33 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1164, allocations: 0 / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005234/0.1169, allocations: 177.3 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.117, allocations: 59.33 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1172, allocations: 199.3 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1172, allocations: 33.7 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.1173, allocations: 100.1 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.1173, allocations: 23.78 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1174, allocations: 21.72 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1175, allocations: 322.8 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.1176, allocations: 27.92 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.1176, allocations: 38.08 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1178, allocations: 61.64 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1178, allocations: 0 / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.118, allocations: 105.7 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.118, allocations: 8 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.118, allocations: 0 / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.118, allocations: 0 / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.526e-05/0.1181, allocations: 23.92 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1181, allocations: 0 / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.1182, allocations: 7.969 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1182, allocations: 8 kB / 0.4928 GB, free: 6.445 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 (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 0.0001093/0.1183, allocations: 129.8 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.1184, allocations: 7.953 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.1184, allocations: 17.39 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1184, allocations: 4 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1184, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1184, allocations: 3.938 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.1189, allocations: 399.3 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1189, allocations: 3.938 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.119, allocations: 8 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.119, allocations: 3.938 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.119, allocations: 7.984 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.119, allocations: 4 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.119, allocations: 3.938 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1192, allocations: 200.4 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1193, allocations: 85.02 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1193, allocations: 11.94 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.1194, allocations: 0 / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1195, allocations: 7.984 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1195, allocations: 4 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1196, allocations: 152.9 kB / 0.4938 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1196, allocations: 4 kB / 0.4938 GB, free: 5.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1199, allocations: 20 kB / 0.4939 GB, free: 5.277 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 (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.002132/0.122, allocations: 1.099 MB / 0.4949 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1222, allocations: 67.89 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1222, allocations: 0 / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.1223, allocations: 24 kB / 0.495 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1227, allocations: 32 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1245, allocations: 1.666 MB / 0.4967 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1249, allocations: 0.7118 MB / 0.4974 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.739e-05/0.1249, allocations: 20.86 kB / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.125, allocations: 35.42 kB / 0.4974 GB, free: 1.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.125, allocations: 0 / 0.4974 GB, free: 1.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.1502, allocations: 3.418 MB / 0.5008 GB, free: 14.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.001, allocations: 8.156 kB / 0.5008 GB, free: 14.07 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches