Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.0006999/0.0006998, allocations: 94.62 kB / 17.35 MB, free: 6.344 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.0007363/0.0007363, allocations: 168.2 kB / 18.25 MB, free: 5.508 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.282/1.282, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2069/0.2069, allocations: 44.25 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 13.78 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001928/0.1037, allocations: 1.417 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1057, allocations: 1.429 MB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.1057, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.106, allocations: 35.89 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1062, allocations: 55.77 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1065, allocations: 87.83 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1067, allocations: 95.7 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.1068, allocations: 20.2 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.1069, allocations: 35.8 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.107, allocations: 47.77 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.107, allocations: 0 / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1072, allocations: 55.98 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.1072, allocations: 15.91 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.1073, allocations: 57.5 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1075, allocations: 131.9 kB / 475.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1075, allocations: 4 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1075, allocations: 0 / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1075, allocations: 0 / 475.8 MB, free: 9.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005268/0.108, allocations: 403 kB / 476.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1081, allocations: 11.97 kB / 476.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.1082, allocations: 42.73 kB / 476.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1082, allocations: 8.844 kB / 476.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1085, allocations: 210.9 kB / 476.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1085, allocations: 4 kB / 476.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1086, allocations: 4 kB / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1088, allocations: 79.31 kB / 476.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1088, allocations: 3.984 kB / 476.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1088, allocations: 4 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.1088, allocations: 0 / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1089, allocations: 23.98 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1093, allocations: 304.7 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1095, allocations: 70.61 kB / 477 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.1096, allocations: 24.84 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1096, allocations: 0 / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1098, allocations: 75.39 kB / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1099, allocations: 0 / 477.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005714/0.1104, allocations: 197.2 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.1105, allocations: 85.03 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.1106, allocations: 150.4 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1107, allocations: 33.64 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.1107, allocations: 96.12 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1108, allocations: 31.7 kB / 477.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.1108, allocations: 25.66 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1109, allocations: 322.8 kB / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.111, allocations: 23.98 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.1111, allocations: 46.56 kB / 478.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1112, allocations: 65.7 kB / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1112, allocations: 96 / 478.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001929/0.1114, allocations: 125.3 kB / 478.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1114, allocations: 6.344 kB / 478.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1114, allocations: 11.92 kB / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1115, allocations: 0 / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.1116, allocations: 16 kB / 478.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1116, allocations: 480 / 478.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.1116, allocations: 4 kB / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1116, allocations: 3.984 kB / 478.3 MB, free: 6.996 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 (11): * Single equations (assignments): 11 * 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.412e-05/0.1117, allocations: 125.9 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1118, allocations: 7.906 kB / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1118, allocations: 24.64 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1118, allocations: 0 / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1118, allocations: 0 / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1118, allocations: 3.938 kB / 478.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.1123, allocations: 411.3 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1123, allocations: 4 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.1123, allocations: 19.95 kB / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1123, allocations: 0 / 478.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1124, allocations: 8 kB / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1124, allocations: 0 / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1124, allocations: 0 / 478.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1126, allocations: 220 kB / 479.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.1127, allocations: 93 kB / 479.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1127, allocations: 4 kB / 479.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.1128, allocations: 4 kB / 479.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.1128, allocations: 11.98 kB / 479.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1128, allocations: 4 kB / 479.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.314e-05/0.1129, allocations: 122.2 kB / 479.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1129, allocations: 0 / 479.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1132, allocations: 31.98 kB / 479.4 MB, free: 5.816 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 (9): * Single equations (assignments): 7 * 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.001571/0.1148, allocations: 1.155 MB / 480.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.115, allocations: 67.84 kB / 480.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.115, allocations: 4 kB / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.1151, allocations: 35.92 kB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1155, allocations: 28.11 kB / 480.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1171, allocations: 1.632 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1173, allocations: 0.7002 MB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.1174, allocations: 24.62 kB / 483 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.1175, allocations: 39.42 kB / 483 MB, free: 2.184 MB / 350.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1175, allocations: 4 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.1313, allocations: 3.239 MB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.1316, allocations: 246.2 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.041, allocations: 0 / 486.5 MB, free: 14.81 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches