Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.001193/0.001193, allocations: 105 kB / 17.21 MB, free: 6.273 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.001335/0.001335, 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.379/1.379, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2079/0.2079, allocations: 44.18 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.23 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1088, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003188/0.112, allocations: 1.94 MB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1135, allocations: 0.9744 MB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.1136, allocations: 7.938 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.114, allocations: 151.6 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.1142, allocations: 119.6 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1146, allocations: 158.5 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1149, allocations: 223.3 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.115, allocations: 25.67 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1151, allocations: 99.55 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1153, allocations: 123.6 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1153, allocations: 4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1154, allocations: 59.97 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.1155, allocations: 55.77 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.1156, allocations: 79.42 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1158, allocations: 207.5 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1159, allocations: 0 / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1159, allocations: 0 / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1159, allocations: 0 / 472.8 MB, free: 10.51 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006467/0.1165, allocations: 0.5215 MB / 473.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1166, allocations: 8.031 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.1166, allocations: 42.73 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.1167, allocations: 28.66 kB / 473.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.117, allocations: 263.6 kB / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.117, allocations: 12.36 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.117, allocations: 11.88 kB / 473.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.1173, allocations: 110 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1173, allocations: 4 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1173, allocations: 7.984 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1173, allocations: 0 / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1175, allocations: 47.95 kB / 473.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.118, allocations: 468.6 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.1184, allocations: 125.2 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1185, allocations: 49.81 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1185, allocations: 0 / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.1188, allocations: 132 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1188, allocations: 0 / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001222/0.12, allocations: 489 kB / 475.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1201, allocations: 81.11 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.1204, allocations: 351 kB / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1204, allocations: 37.64 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.1205, allocations: 148.5 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.1206, allocations: 67.09 kB / 475.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1206, allocations: 41.7 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1208, allocations: 338.8 kB / 476.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1209, allocations: 59.97 kB / 476.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.121, allocations: 91.34 kB / 476.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.1213, allocations: 167.2 kB / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1213, allocations: 0 / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003724/0.1217, allocations: 229.4 kB / 476.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1217, allocations: 4 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1217, allocations: 4 kB / 476.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1218, allocations: 4.062 kB / 476.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1219, allocations: 47.91 kB / 476.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1219, allocations: 0 / 476.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.122, allocations: 8 kB / 476.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.122, allocations: 12 kB / 476.8 MB, free: 6.285 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001433/0.1222, allocations: 158.3 kB / 476.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.1222, allocations: 35.56 kB / 477 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.601e-05/0.1223, allocations: 33.97 kB / 477 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1223, allocations: 4 kB / 477 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1223, allocations: 4 kB / 477 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1223, allocations: 0 / 477 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.1231, allocations: 0.7194 MB / 477.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.1232, allocations: 0 / 477.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.1233, allocations: 35.92 kB / 477.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1233, allocations: 4 kB / 477.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1233, allocations: 4 kB / 477.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1233, allocations: 7.984 kB / 477.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1233, allocations: 3.938 kB / 477.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.1237, allocations: 422 kB / 478.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.1238, allocations: 108.7 kB / 478.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.1238, allocations: 11.98 kB / 478.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.124, allocations: 8 kB / 478.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.124, allocations: 31.84 kB / 478.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1241, allocations: 11.98 kB / 478.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.1243, allocations: 265.9 kB / 478.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1243, allocations: 0 / 478.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.1247, allocations: 48 kB / 478.7 MB, free: 4.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001719/0.1264, allocations: 1.341 MB / 480 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.1267, allocations: 163.7 kB / 480.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1267, allocations: 4 kB / 480.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1269, allocations: 79.84 kB / 480.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1274, allocations: 58.66 kB / 480.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.1303, allocations: 2.713 MB / 483 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1306, allocations: 0.7603 MB / 483.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1307, allocations: 45.91 kB / 483.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1309, allocations: 79.41 kB / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1309, allocations: 7.938 kB / 483.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.1474, allocations: 5.587 MB / 489.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.1477, allocations: 241.9 kB / 489.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/1.954, allocations: 0 / 489.7 MB, free: 9.32 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches