Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000768/0.0007679, allocations: 93.3 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 205.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.7 MB / 246.8 MB, free: 9.555 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002496/0.0002496, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 63.55 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002161/0.1176, allocations: 1.454 MB / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1203, allocations: 1.565 MB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1204, allocations: 4 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1208, allocations: 43.83 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.1212, allocations: 79.73 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1215, allocations: 63.88 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.1218, allocations: 99.62 kB / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.122, allocations: 8 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1221, allocations: 47.72 kB / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1223, allocations: 39.78 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1223, allocations: 8 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.1226, allocations: 103.9 kB / 486.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.1227, allocations: 19.92 kB / 486.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.1228, allocations: 57.5 kB / 486.8 MB, free: 444 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.1231, allocations: 167.8 kB / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1231, allocations: 0 / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1232, allocations: 0 / 486.9 MB, free: 276 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1232, allocations: 0 / 486.9 MB, free: 276 kB / 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.0005701/0.1237, allocations: 411.2 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1238, allocations: 12.88 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.1238, allocations: 38.75 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1239, allocations: 8.844 kB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1241, allocations: 212.4 kB / 487.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1241, allocations: 7.938 kB / 487.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1242, allocations: 0 / 487.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1243, allocations: 79.36 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1244, allocations: 0 / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1244, allocations: 8 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1244, allocations: 4 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.1245, allocations: 15.98 kB / 487.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1249, allocations: 280.9 kB / 488 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1251, allocations: 62.61 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.1251, allocations: 20.86 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1252, allocations: 7.984 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.1254, allocations: 63.39 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1254, allocations: 0 / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006178/0.126, allocations: 169.2 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1261, allocations: 85.03 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1263, allocations: 170.5 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1263, allocations: 25.7 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.1264, allocations: 96.14 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1264, allocations: 35.56 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.1265, allocations: 13.72 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.1266, allocations: 318.8 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/0.1266, allocations: 23.98 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.1267, allocations: 54.44 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1268, allocations: 57.78 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1268, allocations: 0 / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.127, allocations: 101.5 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.127, allocations: 4 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.127, allocations: 0 / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1271, allocations: 0 / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.1271, allocations: 23.92 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1272, allocations: 8 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.1272, allocations: 8 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1272, allocations: 0 / 489.3 MB, free: 13.63 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 8.863e-05/0.1273, allocations: 120.7 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1274, allocations: 11.81 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.1274, allocations: 16.7 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1274, allocations: 3.938 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1274, allocations: 4 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1274, allocations: 0 / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1278, allocations: 399.3 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1279, allocations: 3.938 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1279, allocations: 12.36 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1279, allocations: 0 / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1279, allocations: 8 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1279, allocations: 0 / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1279, allocations: 0 / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1282, allocations: 208.2 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.1282, allocations: 96.84 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1283, allocations: 4 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.1283, allocations: 4 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1284, allocations: 7.984 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1284, allocations: 4 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1285, allocations: 130.5 kB / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1285, allocations: 0 / 490.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.1288, allocations: 47.98 kB / 490.4 MB, free: 12.47 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.00159/0.1304, allocations: 1.172 MB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1306, allocations: 59.91 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1306, allocations: 0 / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.132e-05/0.1307, allocations: 31.97 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.131, allocations: 27.98 kB / 491.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1326, allocations: 1.6 MB / 493.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1329, allocations: 0.7092 MB / 494 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.44e-05/0.133, allocations: 25.16 kB / 494 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.1331, allocations: 31.42 kB / 494 MB, free: 8.852 MB / 366.1 MB Notification: Performance of SimCode: time 1.923e-06/0.1331, allocations: 0 / 494 MB, free: 8.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.1493, allocations: 3.559 MB / 497.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.1495, allocations: 234.7 kB / 497.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.008, allocations: 0 / 497.8 MB, free: 5.18 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches