Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 76.16 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09839, allocations: 62.46 MB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003328/0.1018, allocations: 2.326 MB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.1038, allocations: 1.302 MB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1039, allocations: 3.938 kB / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1042, allocations: 123.5 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.1047, allocations: 203.2 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.105, allocations: 159.7 kB / 483.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.1054, allocations: 434.7 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1055, allocations: 57.34 kB / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.1058, allocations: 263 kB / 484.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.106, allocations: 151.1 kB / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.106, allocations: 8 kB / 484.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.1062, allocations: 67.97 kB / 484.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1063, allocations: 131.4 kB / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1065, allocations: 186.5 kB / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1068, allocations: 418.2 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1069, allocations: 0 / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1069, allocations: 0 / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1069, allocations: 4 kB / 485.2 MB, free: 15.77 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009656/0.1078, allocations: 0.8167 MB / 486 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1079, allocations: 8.875 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.1079, allocations: 50.73 kB / 486.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.108, allocations: 64.17 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.1085, allocations: 408.5 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1085, allocations: 8.375 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.1085, allocations: 31.83 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.1089, allocations: 201.4 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1089, allocations: 0 / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.109, allocations: 11.98 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.109, allocations: 4 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.1092, allocations: 87.88 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.11, allocations: 0.8015 MB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.1106, allocations: 246.4 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1108, allocations: 91.53 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1109, allocations: 8.219 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.1113, allocations: 206.2 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.1113, allocations: 0 / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002375/0.1136, allocations: 1.122 MB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.1137, allocations: 140.5 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.1145, allocations: 0.7931 MB / 490.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.1145, allocations: 37.7 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1147, allocations: 240.9 kB / 490.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.1148, allocations: 142.1 kB / 490.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1149, allocations: 78.03 kB / 490.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1151, allocations: 374.8 kB / 491.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1153, allocations: 128.7 kB / 491.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.1156, allocations: 179.2 kB / 491.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.1161, allocations: 314.9 kB / 491.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1161, allocations: 0 / 491.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007296/0.1169, allocations: 436.5 kB / 492.1 MB, free: 8.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1169, allocations: 8.125 kB / 492.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1169, allocations: 4 kB / 492.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1169, allocations: 4 kB / 492.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.1172, allocations: 91.83 kB / 492.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1172, allocations: 7.938 kB / 492.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1174, allocations: 15.98 kB / 492.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.1174, allocations: 16 kB / 492.3 MB, free: 8.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002348/0.1177, allocations: 231.9 kB / 492.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.1178, allocations: 67.16 kB / 492.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.1179, allocations: 84.91 kB / 492.7 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1179, allocations: 8 kB / 492.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1179, allocations: 3.938 kB / 492.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1179, allocations: 0 / 492.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.1194, allocations: 1.311 MB / 494 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1195, allocations: 4.031 kB / 494 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1196, allocations: 63.84 kB / 494.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1196, allocations: 4 kB / 494.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1197, allocations: 16 kB / 494.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.1197, allocations: 8 kB / 494.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1197, allocations: 7.922 kB / 494.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.1205, allocations: 0.7784 MB / 494.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.1207, allocations: 168.3 kB / 495 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.1207, allocations: 20 kB / 495.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.121, allocations: 15.98 kB / 495.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.1211, allocations: 43.83 kB / 495.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.1212, allocations: 23.98 kB / 495.1 MB, free: 5.273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005532/0.1217, allocations: 0.5811 MB / 495.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1217, allocations: 0 / 495.7 MB, free: 4.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.1222, allocations: 95.89 kB / 495.8 MB, free: 4.602 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002126/0.1244, allocations: 1.756 MB / 497.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.125, allocations: 307.6 kB / 497.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.125, allocations: 0 / 497.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.1253, allocations: 160.5 kB / 498 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.1262, allocations: 127.6 kB / 498.1 MB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.1318, allocations: 5.018 MB / 0.4914 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1322, allocations: 0.8885 MB / 0.4922 GB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.1324, allocations: 87.28 kB / 0.4923 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.1327, allocations: 191.4 kB / 0.4925 GB, free: 12 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1327, allocations: 0 / 0.4925 GB, free: 12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.1537, allocations: 10.27 MB / 0.5025 GB, free: 1.848 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.1541, allocations: 240.8 kB / 0.5028 GB, free: 1.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.117, allocations: 3.25 kB / 0.5028 GB, free: 1.586 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches