Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.001573/0.001573, allocations: 108.8 kB / 17.21 MB, free: 6.27 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.001886/0.001886, allocations: 194 kB / 18.12 MB, free: 5.363 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.327/1.327, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.1928/0.1928, allocations: 44.16 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.41 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.0925, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003153/0.09567, allocations: 1.987 MB / 470.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.09731, allocations: 1.037 MB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.09743, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.09806, allocations: 187.5 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.09839, allocations: 147.1 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.09892, allocations: 205.9 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.09923, allocations: 247.3 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.09934, allocations: 29.66 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.0995, allocations: 91.5 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.09965, allocations: 111.6 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.09969, allocations: 4 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.09983, allocations: 47.92 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.09991, allocations: 51.81 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1, allocations: 67.48 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1003, allocations: 235.4 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1003, allocations: 0 / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1003, allocations: 0 / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1003, allocations: 4 kB / 473.1 MB, free: 10.27 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007661/0.1011, allocations: 0.5351 MB / 473.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1011, allocations: 12.02 kB / 473.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.1012, allocations: 38.75 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.1012, allocations: 24.66 kB / 473.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1016, allocations: 283.5 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1016, allocations: 4.375 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1016, allocations: 15.92 kB / 474 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1018, allocations: 100.2 kB / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1019, allocations: 0 / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1019, allocations: 4 kB / 474.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1019, allocations: 4 kB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.102, allocations: 43.91 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.1025, allocations: 373.5 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.1028, allocations: 117.2 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.1029, allocations: 45.64 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1029, allocations: 4 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.1032, allocations: 113 kB / 474.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1032, allocations: 0 / 474.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004609/0.1036, allocations: 185.3 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.1037, allocations: 110.8 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.1041, allocations: 327 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1041, allocations: 33.7 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.1042, allocations: 136 kB / 475.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.1042, allocations: 35.77 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.1043, allocations: 29.7 kB / 475.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1044, allocations: 338.8 kB / 475.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.1045, allocations: 35.98 kB / 476 MB, free: 7.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1046, allocations: 73.08 kB / 476 MB, free: 7.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1049, allocations: 103.4 kB / 476.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1049, allocations: 3.938 kB / 476.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002763/0.1051, allocations: 146 kB / 476.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1052, allocations: 4 kB / 476.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1052, allocations: 3.938 kB / 476.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1052, allocations: 7.984 kB / 476.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1053, allocations: 20 kB / 476.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1053, allocations: 4 kB / 476.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.1054, allocations: 23.88 kB / 476.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1054, allocations: 4 kB / 476.3 MB, free: 6.672 MB / 350.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001229/0.1056, allocations: 149.8 kB / 476.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.1056, allocations: 23.72 kB / 476.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.1057, allocations: 29.73 kB / 476.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1057, allocations: 0 / 476.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1057, allocations: 0 / 476.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1057, allocations: 11.86 kB / 476.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1059, allocations: 245.5 kB / 476.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1059, allocations: 4 kB / 476.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.106, allocations: 12 kB / 476.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.106, allocations: 0 / 476.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.106, allocations: 0 / 476.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.106, allocations: 4 kB / 476.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.106, allocations: 3.984 kB / 476.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.1063, allocations: 177.5 kB / 477 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.1064, allocations: 100.8 kB / 477.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.1064, allocations: 7.984 kB / 477.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.1065, allocations: 4 kB / 477.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1066, allocations: 15.92 kB / 477.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1066, allocations: 4 kB / 477.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.1069, allocations: 249.9 kB / 477.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1069, allocations: 0 / 477.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1071, allocations: 32 kB / 477.4 MB, free: 5.516 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001376/0.1085, allocations: 1.042 MB / 478.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1088, allocations: 91.89 kB / 478.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1088, allocations: 128 / 478.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1089, allocations: 52.3 kB / 478.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1093, allocations: 64.91 kB / 478.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.112, allocations: 2.33 MB / 481 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1123, allocations: 0.7476 MB / 481.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1124, allocations: 33.91 kB / 481.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1126, allocations: 63.42 kB / 481.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1126, allocations: 4 kB / 481.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.1283, allocations: 5.254 MB / 487.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/0.1286, allocations: 244 kB / 487.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.015, allocations: 0 / 487.3 MB, free: 11.7 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches