Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.0009022/0.0009022, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.001019/0.001019, allocations: 181.8 kB / 18.26 MB, free: 5.52 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.308/1.308, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.1868/0.1868, allocations: 44.24 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002921, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00175/0.1028, allocations: 1.382 MB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.104, allocations: 0.8265 MB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.104, allocations: 4 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1043, allocations: 75.83 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1045, allocations: 63.8 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.1047, allocations: 99.39 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1048, allocations: 99.69 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.1049, allocations: 4 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.105, allocations: 43.83 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.1051, allocations: 55.77 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1051, allocations: 0 / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.1052, allocations: 27.92 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.1052, allocations: 19.92 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.1053, allocations: 53.5 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1054, allocations: 107.9 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1054, allocations: 7.938 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1054, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.1054, allocations: 0 / 475.2 MB, free: 10.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003937/0.1058, allocations: 397.3 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1059, allocations: 8.031 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.1059, allocations: 34.69 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.106, allocations: 16.83 kB / 475.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1061, allocations: 208 kB / 475.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1062, allocations: 8.375 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1062, allocations: 3.938 kB / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1063, allocations: 49.67 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.1063, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1063, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1063, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.94e-05/0.1064, allocations: 15.98 kB / 475.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.1065, allocations: 185.6 kB / 476.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.1067, allocations: 66.48 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.1068, allocations: 16.86 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1068, allocations: 3.984 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.1069, allocations: 63.39 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.107, allocations: 0 / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002251/0.1072, allocations: 101.5 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1072, allocations: 59.34 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1074, allocations: 211.2 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1074, allocations: 29.7 kB / 476.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.1075, allocations: 104.1 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1075, allocations: 15.75 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.1075, allocations: 17.7 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.1077, allocations: 326.8 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.1077, allocations: 16 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.1078, allocations: 25.7 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.1079, allocations: 49.64 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1079, allocations: 3.938 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.108, allocations: 73.59 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.108, allocations: 4 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.108, allocations: 8.031 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1081, allocations: 0 / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.1081, allocations: 15.92 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.1081, allocations: 0 / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.1082, allocations: 11.91 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1082, allocations: 4 kB / 477.3 MB, free: 8 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 (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.81e-05/0.1083, allocations: 132.6 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.1083, allocations: 11.91 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.1084, allocations: 13 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1084, allocations: 4 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1084, allocations: 0 / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1084, allocations: 0 / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1085, allocations: 193.5 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1085, allocations: 4 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.1085, allocations: 0 / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1085, allocations: 4 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1086, allocations: 320 / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1086, allocations: 4 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1086, allocations: 3.938 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1087, allocations: 116.9 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1088, allocations: 89 kB / 477.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.1088, allocations: 0 / 477.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.023e-05/0.1089, allocations: 8 kB / 477.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.1089, allocations: 7.922 kB / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1089, allocations: 4 kB / 477.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.109, allocations: 155.2 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.109, allocations: 4 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1092, allocations: 16 kB / 478.1 MB, free: 7.152 MB / 350.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.001183/0.1104, allocations: 0.9488 MB / 479 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1106, allocations: 35.98 kB / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1106, allocations: 4.062 kB / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.1106, allocations: 27.92 kB / 479.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1109, allocations: 23.97 kB / 479.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1123, allocations: 1.553 MB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1126, allocations: 0.7043 MB / 481.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.733e-05/0.1126, allocations: 12.55 kB / 481.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.1127, allocations: 27.44 kB / 481.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1127, allocations: 7.938 kB / 481.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.1248, allocations: 2.761 MB / 484.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.125, allocations: 238.3 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.843, allocations: 0 / 484.4 MB, free: 0.9258 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches