Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 79.55 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09958, allocations: 62.45 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002805/0.1024, allocations: 1.873 MB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1046, allocations: 1.674 MB / 482.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.1047, allocations: 3.938 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1049, allocations: 43.83 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1052, allocations: 115.6 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1054, allocations: 87.78 kB / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1057, allocations: 191.4 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.1057, allocations: 17.67 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1058, allocations: 83.5 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.106, allocations: 79.62 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1061, allocations: 4 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1063, allocations: 111.9 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.1063, allocations: 31.83 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.1064, allocations: 59.55 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1067, allocations: 223.6 kB / 484 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1067, allocations: 4 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1067, allocations: 0 / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1067, allocations: 0 / 484 MB, free: 1.031 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006195/0.1073, allocations: 494.5 kB / 484.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1074, allocations: 8.875 kB / 484.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.1074, allocations: 38.75 kB / 484.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1075, allocations: 20.66 kB / 484.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1078, allocations: 252.9 kB / 484.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1078, allocations: 4.375 kB / 484.8 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1078, allocations: 11.94 kB / 484.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.108, allocations: 105 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.108, allocations: 0 / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1081, allocations: 4 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1081, allocations: 0 / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1082, allocations: 31.97 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.1084, allocations: 222.5 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.1087, allocations: 109.1 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.1088, allocations: 41.7 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1088, allocations: 4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.1091, allocations: 113 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1091, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004488/0.1095, allocations: 165.4 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.1096, allocations: 136.5 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1098, allocations: 233.6 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1099, allocations: 29.7 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1099, allocations: 112.1 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.11, allocations: 35.64 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.11, allocations: 25.72 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1102, allocations: 330.8 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.1102, allocations: 31.98 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1104, allocations: 69.08 kB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.1105, allocations: 87.34 kB / 486.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1106, allocations: 7.969 kB / 486.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002672/0.1108, allocations: 141.9 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1109, allocations: 8 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1109, allocations: 4 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1109, allocations: 0 / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.111, allocations: 23.98 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.111, allocations: 3.984 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.1111, allocations: 7.984 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1111, allocations: 12.05 kB / 486.8 MB, free: 13.85 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.0001027/0.1112, allocations: 142.2 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.1113, allocations: 19.72 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.1113, allocations: 20.98 kB / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1113, allocations: 0 / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1113, allocations: 4 kB / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1114, allocations: 0 / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.1115, allocations: 233.4 kB / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1115, allocations: 4 kB / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1116, allocations: 4 kB / 487.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1116, allocations: 4 kB / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1116, allocations: 4 kB / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1116, allocations: 0 / 487.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1116, allocations: 3.938 kB / 487.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.1119, allocations: 177.6 kB / 487.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.112, allocations: 88.92 kB / 487.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.112, allocations: 8 kB / 487.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.1121, allocations: 11.92 kB / 487.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1122, allocations: 7.984 kB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1122, allocations: 8 kB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1124, allocations: 176.5 kB / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1124, allocations: 0 / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1126, allocations: 55.98 kB / 487.8 MB, free: 12.8 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.001514/0.1142, allocations: 1.102 MB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.1144, allocations: 87.83 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1144, allocations: 0 / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1145, allocations: 39.92 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1149, allocations: 60.06 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1169, allocations: 1.894 MB / 491 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1172, allocations: 0.7167 MB / 491.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.896e-05/0.1173, allocations: 38 kB / 491.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.1174, allocations: 59.41 kB / 491.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1174, allocations: 4 kB / 491.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.1333, allocations: 4.988 MB / 496.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.1335, allocations: 251.7 kB / 497 MB, free: 3.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.094, allocations: 7.875 kB / 497 MB, free: 3.664 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches