Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, 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.001321/0.001321, allocations: 212.6 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.322/1.322, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 79.28 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09938, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003037/0.1025, allocations: 1.839 MB / 482 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1048, allocations: 1.694 MB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.1049, allocations: 0 / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1052, allocations: 51.64 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.1056, allocations: 139.4 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1058, allocations: 107.6 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.1061, allocations: 199.4 kB / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.1061, allocations: 17.67 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1063, allocations: 83.58 kB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1065, allocations: 87.61 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1065, allocations: 8 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.1067, allocations: 107.9 kB / 484.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.1068, allocations: 39.83 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.1069, allocations: 59.55 kB / 484.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.1072, allocations: 227.6 kB / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1072, allocations: 0 / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1072, allocations: 0 / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1072, allocations: 0 / 484.8 MB, free: 0.5312 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006736/0.1079, allocations: 494.7 kB / 485.3 MB, free: 16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.108, allocations: 15.97 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.108, allocations: 34.73 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.1081, allocations: 20.66 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1083, allocations: 256.9 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1084, allocations: 4.375 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1084, allocations: 3.938 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1086, allocations: 109 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1086, allocations: 0 / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1086, allocations: 0 / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1087, allocations: 4 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1088, allocations: 27.98 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.109, allocations: 222.4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.1093, allocations: 113.1 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.1094, allocations: 41.69 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1094, allocations: 3.984 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.1097, allocations: 109 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.1097, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004384/0.1101, allocations: 173.5 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.1102, allocations: 132.5 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1105, allocations: 237.6 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1105, allocations: 29.7 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.1106, allocations: 116.1 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.1106, allocations: 27.64 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.1107, allocations: 29.7 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1108, allocations: 330.8 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.1109, allocations: 23.98 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1111, allocations: 81.12 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1112, allocations: 83.36 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1113, allocations: 11.77 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002946/0.1116, allocations: 145.3 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1116, allocations: 4 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1116, allocations: 0 / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1116, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1117, allocations: 19.98 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1117, allocations: 0 / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.909e-05/0.1118, allocations: 12 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1119, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 0.0001236/0.112, allocations: 138.2 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.112, allocations: 23.72 kB / 487.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.1121, allocations: 20.98 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1121, allocations: 4 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1121, allocations: 0 / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1121, allocations: 4 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1123, allocations: 229.4 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1123, allocations: 0 / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.1124, allocations: 7.984 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1124, allocations: 4 kB / 488.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1124, allocations: 8 kB / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1124, allocations: 0 / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1124, allocations: 4 kB / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1127, allocations: 165.6 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.1128, allocations: 96.91 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.1128, allocations: 4 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.1129, allocations: 8.094 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.113, allocations: 19.86 kB / 488.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.113, allocations: 4 kB / 488.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1132, allocations: 180.5 kB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1132, allocations: 0 / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1135, allocations: 48 kB / 488.6 MB, free: 12.3 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001572/0.1151, allocations: 1.106 MB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.1153, allocations: 87.91 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1153, allocations: 0 / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1155, allocations: 36.3 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1158, allocations: 68.61 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.1185, allocations: 1.872 MB / 491.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1188, allocations: 0.7242 MB / 492.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.119, allocations: 29.52 kB / 492.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1191, allocations: 59.41 kB / 492.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1191, allocations: 0 / 492.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.1424, allocations: 5.195 MB / 497.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/7.36, allocations: 11.86 kB / 497.8 MB, free: 3.211 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches