Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.00139/0.001389, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001539/0.001539, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1997/0.1997, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 68.23 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.0989, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003089/0.102, allocations: 1.692 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1034, allocations: 0.8808 MB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.1035, allocations: 3.938 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1038, allocations: 35.77 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.104, allocations: 51.77 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1043, allocations: 115.5 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1045, allocations: 99.69 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.1046, allocations: 8.234 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.1047, allocations: 39.8 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.1048, allocations: 27.84 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1048, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1049, allocations: 47.98 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.105, allocations: 19.86 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.105, allocations: 39.77 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1052, allocations: 99.94 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1052, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1052, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1052, allocations: 0 / 472.5 MB, free: 11.09 MB / 350.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.0004939/0.1057, allocations: 411 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1058, allocations: 8.031 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.1058, allocations: 34.75 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.1058, allocations: 12.84 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1061, allocations: 208.4 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1061, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1061, allocations: 4 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1063, allocations: 53.67 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1063, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1063, allocations: 3.938 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1063, allocations: 4 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.1064, allocations: 15.98 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.1067, allocations: 292.8 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1069, allocations: 58.67 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.1069, allocations: 16.86 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.107, allocations: 0 / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.1072, allocations: 71.39 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/0.1072, allocations: 0 / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.1077, allocations: 173.3 kB / 473.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1077, allocations: 55.34 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1079, allocations: 171.6 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1079, allocations: 25.7 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.108, allocations: 100.1 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.108, allocations: 27.66 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.108, allocations: 21.7 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.1082, allocations: 322.8 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.1082, allocations: 24.31 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.1083, allocations: 33.7 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1084, allocations: 61.7 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.1084, allocations: 4 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.1086, allocations: 105.5 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1086, allocations: 4 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1086, allocations: 7.938 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1087, allocations: 0 / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.1088, allocations: 15.94 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1088, allocations: 0 / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.1088, allocations: 7.984 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1088, allocations: 4 kB / 474.8 MB, free: 8.531 MB / 350.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.074e-05/0.1089, allocations: 125 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.109, allocations: 11.91 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.109, allocations: 20.64 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.109, allocations: 0 / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.109, allocations: 0 / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.109, allocations: 0 / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.1094, allocations: 387.3 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1095, allocations: 3.938 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1095, allocations: 12 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1095, allocations: 0 / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1095, allocations: 4 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1095, allocations: 0 / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1095, allocations: 0 / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1098, allocations: 220.1 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.1098, allocations: 89 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1098, allocations: 0 / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.1099, allocations: 4 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.11, allocations: 7.984 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.11, allocations: 4 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.732e-05/0.1101, allocations: 125.5 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1101, allocations: 0 / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1104, allocations: 20 kB / 475.8 MB, free: 7.414 MB / 350.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.001421/0.1118, allocations: 1.101 MB / 476.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.112, allocations: 67.91 kB / 477 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.112, allocations: 0 / 477 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.209e-05/0.1121, allocations: 27.92 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1124, allocations: 31.91 kB / 477.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1142, allocations: 1.563 MB / 478.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1145, allocations: 0.7041 MB / 479.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.1145, allocations: 13.19 kB / 479.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.1146, allocations: 35.42 kB / 479.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1146, allocations: 0 / 479.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.1349, allocations: 3.183 MB / 482.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.783, allocations: 10.73 kB / 482.6 MB, free: 0.8047 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches