Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, 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.001235/0.001235, allocations: 209.8 kB / 18.14 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.492/1.492, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 84.47 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 62.44 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003207/0.1199, allocations: 1.797 MB / 481.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1216, allocations: 1.016 MB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1217, allocations: 0 / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.122, allocations: 47.83 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1224, allocations: 75.73 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1227, allocations: 63.88 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1229, allocations: 99.62 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.123, allocations: 15.98 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1231, allocations: 35.8 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.1232, allocations: 43.77 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1232, allocations: 4 kB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1233, allocations: 39.98 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.1234, allocations: 23.86 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.1235, allocations: 27.75 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1237, allocations: 119.9 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1237, allocations: 0 / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1237, allocations: 0 / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1237, allocations: 0 / 482.8 MB, free: 2.227 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.0005805/0.1243, allocations: 430.9 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1244, allocations: 8.875 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.1244, allocations: 38.67 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1245, allocations: 16.75 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1247, allocations: 212 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1247, allocations: 384 / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1248, allocations: 7.938 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1249, allocations: 53.67 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.125, allocations: 0 / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.125, allocations: 0 / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.125, allocations: 7.984 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.1251, allocations: 19.98 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1255, allocations: 296.8 kB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1257, allocations: 50.67 kB / 483.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1257, allocations: 32.84 kB / 483.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1257, allocations: 0 / 483.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.1259, allocations: 63.39 kB / 484 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.126, allocations: 0 / 484 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.1265, allocations: 181.1 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1266, allocations: 55.39 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1268, allocations: 214.8 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1268, allocations: 33.64 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1269, allocations: 104.1 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1269, allocations: 19.72 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1269, allocations: 25.7 kB / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1271, allocations: 326.8 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.1271, allocations: 19.98 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.1272, allocations: 33.7 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1273, allocations: 57.72 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1273, allocations: 0 / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.1275, allocations: 113.4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1276, allocations: 4 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1276, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1276, allocations: 4 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.1277, allocations: 15.94 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1277, allocations: 8.016 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.1278, allocations: 11.88 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1278, allocations: 0 / 485.2 MB, free: 15.57 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.0001135/0.1279, allocations: 126 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1279, allocations: 15.89 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.128, allocations: 17.34 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.128, allocations: 0 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.128, allocations: 0 / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.128, allocations: 3.938 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.1285, allocations: 403.2 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1285, allocations: 4 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.1286, allocations: 8 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1286, allocations: 3.938 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1286, allocations: 4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1286, allocations: 3.984 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1286, allocations: 4.375 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1289, allocations: 200.5 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1289, allocations: 88.92 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.129, allocations: 7.938 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.129, allocations: 8 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.1291, allocations: 3.984 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1291, allocations: 4 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1293, allocations: 168.2 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1293, allocations: 0 / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1295, allocations: 27.98 kB / 486.3 MB, free: 14.38 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.001524/0.1311, allocations: 1.084 MB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.1313, allocations: 59.91 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1313, allocations: 0 / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.1314, allocations: 24 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1317, allocations: 35.47 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1336, allocations: 1.704 MB / 489.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1338, allocations: 0.7043 MB / 489.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.232e-05/0.1339, allocations: 24.83 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.134, allocations: 39.42 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.134, allocations: 0 / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.1478, allocations: 3.253 MB / 493.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.148, allocations: 237 kB / 493.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/1.992, allocations: 0 / 493.4 MB, free: 7.316 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches