Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.004553/0.004553, allocations: 100.4 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.00115/0.00115, allocations: 196.5 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.234/1.234, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.2825/0.2825, allocations: 43.49 MB / 313.5 MB, free: 8.336 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.001297/0.001297, allocations: 74.56 kB / 382.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.0949, allocations: 57.78 MB / 439.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002676/0.0976, allocations: 1.846 MB / 441.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.09958, allocations: 1.449 MB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.09968, allocations: 0 / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.1, allocations: 39.83 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1003, allocations: 75.67 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.1007, allocations: 139.8 kB / 443.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.1009, allocations: 175.4 kB / 443.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.1009, allocations: 9.547 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1011, allocations: 71.64 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1013, allocations: 71.61 kB / 443.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1013, allocations: 7.938 kB / 443.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1014, allocations: 55.98 kB / 443.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.1015, allocations: 35.83 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.1016, allocations: 55.61 kB / 443.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1018, allocations: 167.8 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1018, allocations: 3.938 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1018, allocations: 0 / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1018, allocations: 0 / 444.1 MB, free: 10.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005633/0.1024, allocations: 466.7 kB / 444.6 MB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1024, allocations: 8.031 kB / 444.6 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.1025, allocations: 42.69 kB / 444.6 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1025, allocations: 16.75 kB / 444.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1028, allocations: 251.6 kB / 444.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1028, allocations: 384 / 444.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1028, allocations: 11.88 kB / 444.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.103, allocations: 105 kB / 445 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.103, allocations: 0 / 445 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1031, allocations: 0 / 445 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1031, allocations: 11.98 kB / 445 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1032, allocations: 27.98 kB / 445 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.1034, allocations: 214.5 kB / 445.2 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1036, allocations: 117.1 kB / 445.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.1037, allocations: 37.7 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1038, allocations: 0 / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.104, allocations: 108.9 kB / 445.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.104, allocations: 4 kB / 445.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004096/0.1044, allocations: 161.4 kB / 445.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.1045, allocations: 140.5 kB / 445.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1047, allocations: 207.8 kB / 446 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1047, allocations: 29.7 kB / 446 MB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.1048, allocations: 116.1 kB / 446.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1048, allocations: 23.66 kB / 446.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1049, allocations: 37.7 kB / 446.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.105, allocations: 326.8 kB / 446.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.1051, allocations: 27.98 kB / 446.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.1052, allocations: 69.12 kB / 446.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1053, allocations: 91.33 kB / 446.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1054, allocations: 3.938 kB / 446.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002511/0.1056, allocations: 141.8 kB / 446.8 MB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1056, allocations: 4 kB / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1056, allocations: 128 / 446.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1057, allocations: 8 kB / 446.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.1058, allocations: 19.98 kB / 446.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1058, allocations: 8.062 kB / 446.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.1059, allocations: 7.906 kB / 446.9 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1059, allocations: 8 kB / 446.9 MB, free: 7.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.855e-05/0.106, allocations: 141.7 kB / 447 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.106, allocations: 15.81 kB / 447.1 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1061, allocations: 16.98 kB / 447.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1061, allocations: 0 / 447.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.1061, allocations: 7.938 kB / 447.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1061, allocations: 4 kB / 447.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1063, allocations: 221.5 kB / 447.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1063, allocations: 0 / 447.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.1063, allocations: 11.98 kB / 447.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1063, allocations: 0 / 447.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1063, allocations: 0 / 447.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1063, allocations: 4 kB / 447.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1063, allocations: 0 / 447.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.1066, allocations: 173.6 kB / 447.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1067, allocations: 92.91 kB / 447.6 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1067, allocations: 4 kB / 447.6 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.1068, allocations: 8 kB / 447.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.1068, allocations: 7.984 kB / 447.6 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1068, allocations: 7.938 kB / 447.6 MB, free: 6.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.107, allocations: 161.5 kB / 447.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.107, allocations: 0 / 447.8 MB, free: 6.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1072, allocations: 44 kB / 447.8 MB, free: 6.16 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001339/0.1086, allocations: 1.057 MB / 448.9 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1088, allocations: 79.89 kB / 448.9 MB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1088, allocations: 4 kB / 448.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1089, allocations: 36.3 kB / 449 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1093, allocations: 59.94 kB / 449 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1111, allocations: 1.826 MB / 450.9 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1114, allocations: 0.7206 MB / 451.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.902e-05/0.1115, allocations: 33.45 kB / 451.6 MB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.1115, allocations: 51.41 kB / 451.7 MB, free: 2.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1116, allocations: 0 / 451.7 MB, free: 2.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/0.2713, allocations: 4.368 MB / 456 MB, free: 47.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.2715, allocations: 236.6 kB / 456.3 MB, free: 47.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.862, allocations: 2.297 kB / 456.3 MB, free: 47.3 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches