Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 74.39 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1098, allocations: 62.44 MB / 480.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003191/0.113, allocations: 1.678 MB / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1146, allocations: 1.005 MB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.1147, allocations: 0 / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.115, allocations: 51.75 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.1154, allocations: 103.6 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1157, allocations: 67.69 kB / 483 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1159, allocations: 107.7 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.116, allocations: 4.234 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1161, allocations: 51.78 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1162, allocations: 39.78 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1162, allocations: 4 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1163, allocations: 35.98 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.1164, allocations: 19.92 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.1165, allocations: 39.72 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1167, allocations: 91.98 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1167, allocations: 4 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1167, allocations: 3.938 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1167, allocations: 0 / 483.4 MB, free: 1.832 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005147/0.1172, allocations: 410.9 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1173, allocations: 12.03 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.1173, allocations: 34.73 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1174, allocations: 12.75 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1176, allocations: 200.2 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1176, allocations: 4.359 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1176, allocations: 7.938 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1178, allocations: 41.69 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1178, allocations: 4 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1178, allocations: 0 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.1178, allocations: 3.984 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-05/0.1179, allocations: 15.94 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.1181, allocations: 185.6 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1183, allocations: 54.55 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1184, allocations: 20.86 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1184, allocations: 7.984 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1186, allocations: 63.39 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1186, allocations: 3.938 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002705/0.1189, allocations: 93.58 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.119, allocations: 51.41 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1191, allocations: 187.3 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1192, allocations: 33.7 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.1192, allocations: 96.14 kB / 484.9 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1192, allocations: 15.8 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1193, allocations: 21.72 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1194, allocations: 318.8 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.1195, allocations: 15.98 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.1195, allocations: 29.7 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/0.1196, allocations: 49.64 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1196, allocations: 3.938 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001656/0.1198, allocations: 85.53 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1198, allocations: 6.5 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1198, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1199, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.1199, allocations: 11.98 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1199, allocations: 32 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.12, allocations: 11.91 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.12, allocations: 0 / 485.5 MB, free: 15.51 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 (7): * Single equations (assignments): 7 * 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.669e-05/0.1201, allocations: 125.8 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.1201, allocations: 7.906 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.1202, allocations: 13 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1202, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1202, allocations: 3.938 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1202, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.1203, allocations: 185.6 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1204, allocations: 8.312 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.1204, allocations: 3.938 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1204, allocations: 7.984 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1204, allocations: 4 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1204, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1204, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.1206, allocations: 109 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1207, allocations: 96.86 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1207, allocations: 3.984 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.1207, allocations: 0 / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.1208, allocations: 4 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1208, allocations: 11.94 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1209, allocations: 135.9 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1209, allocations: 0 / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.1211, allocations: 16 kB / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001286/0.1224, allocations: 0.9355 MB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.1226, allocations: 47.92 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1226, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.1227, allocations: 23.97 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1229, allocations: 30.31 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.1244, allocations: 1.466 MB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1246, allocations: 0.708 MB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.1247, allocations: 12.55 kB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.1248, allocations: 31.36 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1248, allocations: 0 / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1452, allocations: 3.015 MB / 492.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/7.08, allocations: 7.922 kB / 492.5 MB, free: 8.492 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches