Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.008955/0.008955, allocations: 99.98 kB / 15.87 MB, free: 6.309 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.001596/0.001596, allocations: 196.2 kB / 16.79 MB, free: 6.238 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.394/1.394, allocations: 205.1 MB / 222.6 MB, free: 4.941 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3009/0.3009, allocations: 43.5 MB / 313.5 MB, free: 8.371 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.001312/0.001312, allocations: 63.91 kB / 382.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09733, allocations: 57.78 MB / 439.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002654/0.1, allocations: 1.725 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1011, allocations: 0.7729 MB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.1011, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1014, allocations: 59.84 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1016, allocations: 59.75 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.1018, allocations: 71.86 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1019, allocations: 95.73 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.102, allocations: 7.984 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.931e-05/0.102, allocations: 43.72 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.154e-05/0.1021, allocations: 47.83 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1021, allocations: 4 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-05/0.1022, allocations: 24 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.1023, allocations: 19.92 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.1023, allocations: 35.72 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1025, allocations: 95.94 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1025, allocations: 0 / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1025, allocations: 0 / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1025, allocations: 0 / 443 MB, free: 11.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004198/0.1029, allocations: 406.9 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1029, allocations: 12.02 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.103, allocations: 38.75 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.103, allocations: 8.844 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1032, allocations: 204 kB / 443.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1032, allocations: 8.359 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1033, allocations: 3.938 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1034, allocations: 53.61 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1034, allocations: 0 / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1034, allocations: 7.984 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1034, allocations: 4 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.1035, allocations: 12 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1037, allocations: 177.6 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.1038, allocations: 58.55 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.1039, allocations: 20.8 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1039, allocations: 7.984 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.1041, allocations: 67.39 kB / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1041, allocations: 0 / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002481/0.1043, allocations: 89.58 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1044, allocations: 51.41 kB / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1045, allocations: 190.1 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1045, allocations: 29.7 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.1046, allocations: 100.1 kB / 444.5 MB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1046, allocations: 11.89 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1046, allocations: 17.72 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.1047, allocations: 322.8 kB / 444.8 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.724e-05/0.1048, allocations: 12.25 kB / 444.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.1048, allocations: 29.7 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.21e-05/0.1049, allocations: 53.7 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1049, allocations: 3.938 kB / 444.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000139/0.1051, allocations: 77.53 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1051, allocations: 4 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1051, allocations: 0 / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.1051, allocations: 7.938 kB / 445 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.1052, allocations: 11.98 kB / 445 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1052, allocations: 0 / 445 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.1053, allocations: 7.906 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1053, allocations: 4.031 kB / 445 MB, free: 9.414 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 (7): * Single equations (assignments): 7 * 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 8.286e-05/0.1054, allocations: 137.6 kB / 445.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.1054, allocations: 11.91 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.1054, allocations: 8.312 kB / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1054, allocations: 0 / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1054, allocations: 0 / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1054, allocations: 0 / 445.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1056, allocations: 193.5 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1056, allocations: 0 / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.1056, allocations: 8 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1056, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1056, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1056, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1056, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.1058, allocations: 117 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.1058, allocations: 88.92 kB / 445.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1059, allocations: 0 / 445.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.1059, allocations: 19.92 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.106, allocations: 0 / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.106, allocations: 7.984 kB / 445.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.597e-05/0.1061, allocations: 144 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1061, allocations: 0 / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000199/0.1063, allocations: 16 kB / 445.8 MB, free: 8.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001134/0.1074, allocations: 0.9492 MB / 446.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1076, allocations: 39.92 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1076, allocations: 3.938 kB / 446.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.1076, allocations: 19.98 kB / 446.8 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.1079, allocations: 27.27 kB / 446.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1093, allocations: 1.483 MB / 448.3 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1095, allocations: 0.7004 MB / 449 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.1095, allocations: 24.39 kB / 449 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.1096, allocations: 27.44 kB / 449 MB, free: 5.211 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1096, allocations: 0 / 449 MB, free: 5.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.122, allocations: 2.832 MB / 451.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.1223, allocations: 234.5 kB / 452.1 MB, free: 2.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/1.978, allocations: 3.938 kB / 452.1 MB, free: 2.098 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches