Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 74.8 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 62.46 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003111/0.1172, allocations: 1.717 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1188, allocations: 1.029 MB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.1189, allocations: 0 / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1192, allocations: 55.73 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1195, allocations: 99.59 kB / 483 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1197, allocations: 83.66 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1199, allocations: 99.7 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.12, allocations: 11.94 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.1201, allocations: 39.84 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.1202, allocations: 35.78 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1202, allocations: 4 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1203, allocations: 47.98 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.1204, allocations: 27.91 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.1204, allocations: 51.59 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.1206, allocations: 127.8 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1206, allocations: 3.938 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1207, allocations: 0 / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1207, allocations: 3.938 kB / 483.6 MB, free: 1.707 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.0005876/0.1213, allocations: 446.7 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1213, allocations: 8.031 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1213, allocations: 34.75 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1214, allocations: 20.75 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1216, allocations: 217 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1216, allocations: 4.312 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1217, allocations: 7.938 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1218, allocations: 57.61 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1218, allocations: 0 / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1218, allocations: 3.984 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1218, allocations: 0 / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.1219, allocations: 23.98 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.1223, allocations: 296.9 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1225, allocations: 54.61 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.1225, allocations: 24.84 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1225, allocations: 0 / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1227, allocations: 71.39 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1227, allocations: 0 / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005153/0.1232, allocations: 192.9 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1233, allocations: 55.41 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1235, allocations: 270.9 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1236, allocations: 25.7 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.1236, allocations: 116.1 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.1237, allocations: 27.64 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.1237, allocations: 25.72 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1238, allocations: 322.8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.1239, allocations: 23.98 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.124, allocations: 37.64 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1241, allocations: 61.7 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1241, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1243, allocations: 101.4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1243, allocations: 8 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1243, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1243, allocations: 192 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.1244, allocations: 15.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1244, allocations: 7.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1245, allocations: 7.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1245, allocations: 8.031 kB / 486.1 MB, free: 14.93 MB / 366.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 9.915e-05/0.1246, allocations: 140.7 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1246, allocations: 11.81 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.1247, allocations: 21.39 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1247, allocations: 7.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1247, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1247, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1251, allocations: 415.4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1252, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.1252, allocations: 11.98 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1252, allocations: 7.938 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1252, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1252, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1252, allocations: 384 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1255, allocations: 212.2 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1255, allocations: 85.02 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.1256, allocations: 15.86 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.1256, allocations: 11.98 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1257, allocations: 4 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1257, allocations: 0 / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.1259, allocations: 208.4 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1259, allocations: 0 / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1261, allocations: 28 kB / 487.3 MB, free: 13.67 MB / 366.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.001369/0.1275, allocations: 1.101 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1277, allocations: 55.97 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1277, allocations: 0 / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.1278, allocations: 31.92 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1281, allocations: 27.97 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.13, allocations: 1.826 MB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.1303, allocations: 0.7158 MB / 491 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.1304, allocations: 20.81 kB / 491 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1305, allocations: 43.42 kB / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1305, allocations: 0 / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.1508, allocations: 3.706 MB / 494.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.405, allocations: 21.59 kB / 494.8 MB, free: 6.223 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches