Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007848/0.0007845, allocations: 97.67 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009641/0.0009642, allocations: 202.2 kB / 18.28 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.362/1.362, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1728/0.1728, allocations: 46.17 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 12 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 63.57 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.001921/0.1187, allocations: 1.646 MB / 484.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1201, allocations: 1.029 MB / 485.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.1202, allocations: 8 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1204, allocations: 31.84 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1207, allocations: 75.69 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1209, allocations: 83.78 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1211, allocations: 135.6 kB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1212, allocations: 25.55 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.1213, allocations: 51.72 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.1213, allocations: 43.66 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1214, allocations: 7.938 kB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.1215, allocations: 47.97 kB / 486.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.1215, allocations: 15.92 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.1216, allocations: 73.38 kB / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1218, allocations: 151.7 kB / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1218, allocations: 0 / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1218, allocations: 4 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.1218, allocations: 0 / 486.6 MB, free: 0.6055 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005249/0.1223, allocations: 464.5 kB / 487.1 MB, free: 100 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1224, allocations: 12.86 kB / 487.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.1224, allocations: 38.75 kB / 487.1 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.1225, allocations: 16.69 kB / 487.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1227, allocations: 228.8 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1227, allocations: 4.375 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1228, allocations: 15.94 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.123, allocations: 108.2 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.123, allocations: 3.938 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.123, allocations: 4 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.123, allocations: 3.984 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1232, allocations: 55.91 kB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.1237, allocations: 0.5125 MB / 488.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.124, allocations: 90.61 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.1241, allocations: 40.83 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1241, allocations: 0 / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.1243, allocations: 87.31 kB / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1243, allocations: 0 / 488.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000363/0.1247, allocations: 149.4 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1247, allocations: 59.41 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1249, allocations: 202.1 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1249, allocations: 33.69 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.125, allocations: 116 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.125, allocations: 23.7 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1251, allocations: 21.7 kB / 488.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.1252, allocations: 326.8 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.1253, allocations: 27.98 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.1254, allocations: 71.77 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1256, allocations: 108.5 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1256, allocations: 0 / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002602/0.1258, allocations: 137.3 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1259, allocations: 11.98 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1259, allocations: 4.125 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1259, allocations: 3.938 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.126, allocations: 27.98 kB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.126, allocations: 4 kB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.1261, allocations: 15.84 kB / 489.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1261, allocations: 4 kB / 489.6 MB, free: 13.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 9.556e-05/0.1262, allocations: 136 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.1262, allocations: 11.81 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.1263, allocations: 21.41 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1263, allocations: 7.938 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1263, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1263, allocations: 0 / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1265, allocations: 213.5 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1265, allocations: 0 / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.1265, allocations: 12 kB / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1266, allocations: 0 / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1266, allocations: 0 / 490 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1266, allocations: 11.92 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1266, allocations: 4 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.1269, allocations: 181 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.127, allocations: 96.89 kB / 490.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.127, allocations: 11.92 kB / 490.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.1271, allocations: 12 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1271, allocations: 11.98 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1272, allocations: 7.938 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1273, allocations: 140.4 kB / 490.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 0 / 490.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1275, allocations: 28.12 kB / 490.5 MB, free: 12.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00131/0.1288, allocations: 1.021 MB / 491.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.129, allocations: 88.02 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1291, allocations: 3.938 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.1292, allocations: 39.92 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1294, allocations: 35.91 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.1313, allocations: 1.78 MB / 493.4 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1315, allocations: 0.7243 MB / 494.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.1316, allocations: 17.41 kB / 494.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.1316, allocations: 39.42 kB / 494.2 MB, free: 8.578 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1317, allocations: 0 / 494.2 MB, free: 8.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.062/1.194, allocations: 3.339 MB / 497.6 MB, free: 5.371 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/1.194, allocations: 233.2 kB / 497.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/3.164, allocations: 0 / 497.8 MB, free: 5.117 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches