Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.00174/0.00174, allocations: 109 kB / 16.41 MB, free: 6.496 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.002004/0.002004, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2096/0.2096, allocations: 43.52 MB / 314.1 MB, free: 472 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.001991/0.001991, allocations: 71.91 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002972/0.1152, allocations: 1.689 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1164, allocations: 0.8078 MB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.1165, allocations: 0 / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1168, allocations: 39.77 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.117, allocations: 63.75 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1173, allocations: 87.66 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1175, allocations: 95.73 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1176, allocations: 16.22 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.1177, allocations: 35.8 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.1177, allocations: 39.77 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1178, allocations: 8 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.1179, allocations: 39.98 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.1179, allocations: 23.92 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.118, allocations: 35.73 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1182, allocations: 115.5 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1182, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1182, allocations: 0 / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.1183, allocations: 0 / 0.4905 GB, free: 9.121 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.0006117/0.1189, allocations: 430 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1189, allocations: 15.89 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.119, allocations: 30.75 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.119, allocations: 12.89 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.1193, allocations: 216.8 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1194, allocations: 384 / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.1194, allocations: 7.938 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1195, allocations: 57.67 kB / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1196, allocations: 0 / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1196, allocations: 0 / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1196, allocations: 3.938 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.1197, allocations: 27.98 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.1201, allocations: 280.9 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1202, allocations: 54.67 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.1203, allocations: 24.78 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1203, allocations: 15.98 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.1205, allocations: 59.39 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1205, allocations: 0 / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005523/0.1211, allocations: 185.3 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1211, allocations: 51.41 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1213, allocations: 199.3 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1214, allocations: 33.64 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.1214, allocations: 104.1 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1215, allocations: 23.8 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.1215, allocations: 25.72 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1217, allocations: 326.8 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.1217, allocations: 20 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1218, allocations: 37.64 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1219, allocations: 65.64 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1219, allocations: 0 / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.1221, allocations: 105.5 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1222, allocations: 4 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1222, allocations: 4 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1222, allocations: 0 / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.1223, allocations: 15.98 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1223, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.1224, allocations: 11.97 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1224, allocations: 4 kB / 0.4928 GB, free: 6.477 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.0001087/0.1225, allocations: 129.8 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1225, allocations: 11.95 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1226, allocations: 17.39 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1226, allocations: 4.359 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1226, allocations: 3.938 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1226, allocations: 3.938 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.1231, allocations: 399.3 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1231, allocations: 0 / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.1231, allocations: 11.94 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1231, allocations: 7.922 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1231, allocations: 4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1231, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1231, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1234, allocations: 200.4 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.1234, allocations: 89.02 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1235, allocations: 7.938 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.1236, allocations: 11.92 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1236, allocations: 7.938 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1236, allocations: 4 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1238, allocations: 148.9 kB / 0.4938 GB, free: 5.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1238, allocations: 4 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000248/0.124, allocations: 27.98 kB / 0.4939 GB, free: 5.293 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.002112/0.1261, allocations: 1.091 MB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1264, allocations: 63.89 kB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1264, allocations: 0 / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.1265, allocations: 27.94 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1268, allocations: 31.88 kB / 0.4951 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1287, allocations: 1.666 MB / 0.4967 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.129, allocations: 0.7041 MB / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.1291, allocations: 25.17 kB / 0.4974 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.1292, allocations: 31.42 kB / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1292, allocations: 4 kB / 0.4974 GB, free: 1.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.1537, allocations: 3.415 MB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/7.945, allocations: 12.16 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches