Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008965/0.0008964, allocations: 95 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2298/0.2298, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002755, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 63.56 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002034/0.1176, allocations: 1.458 MB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1192, allocations: 0.9902 MB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.1193, allocations: 0 / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1196, allocations: 47.81 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.12, allocations: 83.73 kB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1202, allocations: 63.81 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1204, allocations: 103.7 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.1205, allocations: 15.98 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.1206, allocations: 43.77 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.1207, allocations: 35.73 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1207, allocations: 4 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1209, allocations: 43.97 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.1209, allocations: 27.91 kB / 486.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.121, allocations: 69.39 kB / 486.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1212, allocations: 131.8 kB / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1212, allocations: 0 / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1212, allocations: 0 / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1213, allocations: 4 kB / 486.3 MB, free: 0.9375 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.0005298/0.1218, allocations: 422.8 kB / 486.7 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1218, allocations: 12.88 kB / 486.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.1219, allocations: 34.75 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.1219, allocations: 16.75 kB / 486.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1222, allocations: 213 kB / 487 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1222, allocations: 8.375 kB / 487 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1222, allocations: 7.922 kB / 487 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1224, allocations: 53.67 kB / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1224, allocations: 0 / 487 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1224, allocations: 4 kB / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1224, allocations: 0 / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.1225, allocations: 19.92 kB / 487.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.1229, allocations: 304.8 kB / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1231, allocations: 62.61 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.1232, allocations: 20.84 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1232, allocations: 7.875 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1234, allocations: 71.39 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.1234, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005405/0.124, allocations: 189 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.124, allocations: 51.41 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1243, allocations: 270.9 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1243, allocations: 33.7 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.1244, allocations: 112 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1244, allocations: 27.64 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.1245, allocations: 17.72 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1246, allocations: 326.8 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.1246, allocations: 23.98 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.1247, allocations: 33.7 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1248, allocations: 61.64 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1248, allocations: 0 / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.125, allocations: 113.4 kB / 488.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.125, allocations: 4 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1251, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1251, allocations: 0 / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.1252, allocations: 19.98 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1252, allocations: 0 / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.1252, allocations: 7.938 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1253, allocations: 0 / 488.8 MB, free: 14.19 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 0.0001099/0.1254, allocations: 137.9 kB / 488.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.1254, allocations: 15.81 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.1255, allocations: 25.39 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1255, allocations: 0 / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1255, allocations: 0 / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1255, allocations: 3.938 kB / 489 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.1259, allocations: 407.3 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.126, allocations: 0 / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.126, allocations: 15.97 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.126, allocations: 7.922 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.126, allocations: 4 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.126, allocations: 192 / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.126, allocations: 3.984 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.1263, allocations: 208.1 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1263, allocations: 96.91 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1264, allocations: 7.938 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.1265, allocations: 8 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.1265, allocations: 3.984 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1265, allocations: 7.938 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1267, allocations: 204.4 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1267, allocations: 0 / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.127, allocations: 27.98 kB / 489.9 MB, free: 12.92 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.001483/0.1285, allocations: 1.102 MB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1287, allocations: 55.91 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1287, allocations: 0 / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.1288, allocations: 31.94 kB / 491.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1292, allocations: 27.97 kB / 491.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1312, allocations: 1.844 MB / 493 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1315, allocations: 0.7199 MB / 493.7 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.1315, allocations: 17.19 kB / 493.7 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.1316, allocations: 39.42 kB / 493.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1316, allocations: 4 kB / 493.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.1464, allocations: 3.331 MB / 497.1 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.1467, allocations: 231 kB / 497.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.04, allocations: 3.938 kB / 497.3 MB, free: 5.633 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches