Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001344/0.001344, allocations: 109.4 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.001324/0.001324, 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.536/1.536, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.251/0.251, allocations: 44.17 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.91 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1131, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003279/0.1164, allocations: 1.749 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1178, allocations: 0.8653 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.1179, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1183, allocations: 75.83 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1185, allocations: 75.78 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1188, allocations: 99.33 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.119, allocations: 103.7 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1192, allocations: 12.22 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1193, allocations: 51.78 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1194, allocations: 55.75 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1194, allocations: 4 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1196, allocations: 35.98 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1196, allocations: 23.91 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.1197, allocations: 31.75 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1199, allocations: 123.8 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1199, allocations: 0 / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1199, allocations: 0 / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1199, allocations: 4 kB / 471.9 MB, free: 11.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006215/0.1206, allocations: 415 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1206, allocations: 11.97 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.1207, allocations: 34.75 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1207, allocations: 12.84 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.121, allocations: 212.5 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.121, allocations: 384 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1211, allocations: 11.88 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1212, allocations: 57.67 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1213, allocations: 0 / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1213, allocations: 7.938 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1213, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.1214, allocations: 27.92 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.1218, allocations: 284.9 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.122, allocations: 62.67 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.122, allocations: 16.86 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1221, allocations: 4 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1223, allocations: 71.31 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1223, allocations: 0 / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006042/0.1229, allocations: 173.1 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.123, allocations: 59.41 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1232, allocations: 219.4 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1232, allocations: 29.7 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.1233, allocations: 104.1 kB / 473.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1233, allocations: 23.66 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.1234, allocations: 25.7 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1235, allocations: 322.8 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.1236, allocations: 24 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.1237, allocations: 33.7 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1238, allocations: 69.69 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1238, allocations: 0 / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.124, allocations: 97.58 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.124, allocations: 8 kB / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.124, allocations: 0 / 474.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1241, allocations: 7.969 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.1241, allocations: 12 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1242, allocations: 4 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1242, allocations: 7.922 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1242, allocations: 8 kB / 474.3 MB, free: 8.742 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 (10): * Single equations (assignments): 10 * 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.0001132/0.1244, allocations: 121.8 kB / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1244, allocations: 15.8 kB / 474.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.1244, allocations: 17.41 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1245, allocations: 4 kB / 474.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1245, allocations: 192 / 474.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1245, allocations: 3.938 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.1249, allocations: 399.2 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1249, allocations: 4.312 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.125, allocations: 11.94 kB / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.125, allocations: 7.938 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.125, allocations: 8 kB / 474.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.125, allocations: 4.031 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.125, allocations: 0 / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1253, allocations: 196.2 kB / 475.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1253, allocations: 93 kB / 475.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1253, allocations: 7.938 kB / 475.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.1254, allocations: 0 / 475.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1255, allocations: 11.98 kB / 475.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1255, allocations: 4 kB / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1256, allocations: 159.2 kB / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1256, allocations: 0 / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1259, allocations: 27.94 kB / 475.4 MB, free: 7.562 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 (8): * Single equations (assignments): 6 * 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.001462/0.1274, allocations: 1.103 MB / 476.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1276, allocations: 55.92 kB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1276, allocations: 4.062 kB / 476.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.1277, allocations: 27.92 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.128, allocations: 38.44 kB / 476.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1298, allocations: 1.704 MB / 478.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.13, allocations: 0.7043 MB / 479 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.1301, allocations: 20.48 kB / 479.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.1301, allocations: 35.42 kB / 479.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1302, allocations: 0 / 479.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1442, allocations: 3.245 MB / 482.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.1444, allocations: 230.9 kB / 482.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.04, allocations: 0 / 482.6 MB, free: 0.5312 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches