Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007346/0.0007345, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008537/0.0008538, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.185/0.185, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002428, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001907/0.1046, allocations: 1.544 MB / 484.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1068, allocations: 1.651 MB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.1069, allocations: 0 / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1071, allocations: 47.83 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1075, allocations: 111.5 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1077, allocations: 91.84 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.1079, allocations: 187.4 kB / 486.8 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.108, allocations: 13.67 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1081, allocations: 79.58 kB / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1083, allocations: 87.53 kB / 487 MB, free: 240 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1083, allocations: 8 kB / 487 MB, free: 232 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1085, allocations: 103.9 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.1086, allocations: 35.78 kB / 487.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.1086, allocations: 85.3 kB / 487.2 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.1089, allocations: 219.6 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1089, allocations: 0 / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.109, allocations: 3.938 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.109, allocations: 0 / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005799/0.1096, allocations: 474.7 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1096, allocations: 12.88 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1096, allocations: 34.75 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.1097, allocations: 16.75 kB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.11, allocations: 260.8 kB / 488.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.11, allocations: 4.375 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.11, allocations: 3.938 kB / 488.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1102, allocations: 105 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1102, allocations: 0 / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1102, allocations: 0 / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1103, allocations: 4 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1104, allocations: 31.97 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1106, allocations: 218.5 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1108, allocations: 113.2 kB / 488.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.1109, allocations: 37.7 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.111, allocations: 3.984 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1112, allocations: 113 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1112, allocations: 0 / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004368/0.1116, allocations: 173.4 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.1117, allocations: 128.5 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.112, allocations: 237.6 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.112, allocations: 29.7 kB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.1121, allocations: 120.1 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1121, allocations: 27.56 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.1121, allocations: 21.7 kB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1123, allocations: 326.8 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.1123, allocations: 31.92 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1125, allocations: 76.38 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1126, allocations: 83.36 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1126, allocations: 3.938 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002515/0.1129, allocations: 141.3 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1129, allocations: 8.094 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1129, allocations: 4 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.113, allocations: 0 / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1131, allocations: 27.86 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1131, allocations: 4 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/0.1132, allocations: 7.906 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1132, allocations: 8 kB / 490.3 MB, free: 12.63 MB / 366.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001046/0.1133, allocations: 138.3 kB / 490.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1133, allocations: 16.44 kB / 490.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1134, allocations: 24.98 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1134, allocations: 0 / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1134, allocations: 4 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1134, allocations: 0 / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1136, allocations: 229.4 kB / 490.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1136, allocations: 4 kB / 490.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.1136, allocations: 15.92 kB / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1137, allocations: 0 / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1137, allocations: 4 kB / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1137, allocations: 0 / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1137, allocations: 4 kB / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.114, allocations: 177.5 kB / 490.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.114, allocations: 100.9 kB / 491 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.1141, allocations: 4 kB / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.1142, allocations: 11.98 kB / 491 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.1142, allocations: 8 kB / 491 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1142, allocations: 7.984 kB / 491 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1144, allocations: 180.5 kB / 491.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1144, allocations: 0 / 491.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1147, allocations: 51.98 kB / 491.2 MB, free: 11.58 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001487/0.1162, allocations: 1.099 MB / 492.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1164, allocations: 75.91 kB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1164, allocations: 4 kB / 492.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.1165, allocations: 35.92 kB / 492.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1169, allocations: 63.44 kB / 492.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1189, allocations: 1.911 MB / 494.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1192, allocations: 0.7245 MB / 495.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.816e-05/0.1193, allocations: 25.53 kB / 495.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.1194, allocations: 63.39 kB / 495.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1194, allocations: 0 / 495.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.1352, allocations: 4.768 MB / 500 MB, free: 2.957 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1354, allocations: 248 kB / 0.4885 GB, free: 2.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.877, allocations: 0 / 0.4885 GB, free: 2.695 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches