Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.11 MB / 343.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 75.78 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1028, allocations: 62.45 MB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002866/0.1057, allocations: 1.972 MB / 481.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1073, allocations: 1.111 MB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.1074, allocations: 4 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.1078, allocations: 255.4 kB / 482.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1082, allocations: 203.4 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1084, allocations: 99.78 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.1087, allocations: 263.3 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.1088, allocations: 21.69 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1089, allocations: 131.4 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1091, allocations: 175.4 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1091, allocations: 8 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1092, allocations: 63.97 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.1093, allocations: 67.69 kB / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.1094, allocations: 99.16 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1097, allocations: 243.4 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1097, allocations: 0 / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.92e-07/0.1097, allocations: 0 / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1097, allocations: 0 / 484.1 MB, free: 0.8711 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006314/0.1103, allocations: 0.5797 MB / 484.7 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1104, allocations: 8.875 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.1104, allocations: 46.69 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.1105, allocations: 36.55 kB / 484.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1108, allocations: 290.4 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1108, allocations: 12.36 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1108, allocations: 7.938 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.1111, allocations: 114.4 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1111, allocations: 7.906 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1111, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1111, allocations: 4 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1113, allocations: 47.97 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.1117, allocations: 488.7 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.1121, allocations: 125.2 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.62e-05/0.1122, allocations: 41.83 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1122, allocations: 4 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1125, allocations: 132.9 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1125, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001226/0.1137, allocations: 0.5076 MB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1138, allocations: 77.11 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.1142, allocations: 0.4899 MB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1143, allocations: 37.7 kB / 487.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.1144, allocations: 168.5 kB / 487.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.1145, allocations: 75 kB / 487.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.1145, allocations: 41.7 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1147, allocations: 346.8 kB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1148, allocations: 63.91 kB / 487.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1149, allocations: 91.41 kB / 487.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.1152, allocations: 151.3 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1152, allocations: 0 / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003896/0.1156, allocations: 241 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1156, allocations: 4 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1156, allocations: 4.062 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.1156, allocations: 4 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1158, allocations: 47.97 kB / 488.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1158, allocations: 3.938 kB / 488.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.1159, allocations: 15.84 kB / 488.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1159, allocations: 8 kB / 488.3 MB, free: 12.31 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001653/0.1161, allocations: 174.3 kB / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1161, allocations: 35.56 kB / 488.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-05/0.1162, allocations: 46.88 kB / 488.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1162, allocations: 4 kB / 488.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1162, allocations: 0 / 488.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1162, allocations: 0 / 488.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/0.1171, allocations: 0.7428 MB / 489.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1171, allocations: 3.984 kB / 489.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.1172, allocations: 35.86 kB / 489.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1172, allocations: 4 kB / 489.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1173, allocations: 11.98 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1173, allocations: 0 / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1173, allocations: 7.938 kB / 489.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.1177, allocations: 425.7 kB / 489.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.1178, allocations: 100.7 kB / 489.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.1179, allocations: 8 kB / 489.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.118, allocations: 11.98 kB / 489.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.1181, allocations: 19.92 kB / 490 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1181, allocations: 12 kB / 490 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000339/0.1184, allocations: 379.1 kB / 490.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1184, allocations: 0 / 490.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1188, allocations: 44 kB / 490.4 MB, free: 10.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001731/0.1205, allocations: 1.371 MB / 491.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.1209, allocations: 163.8 kB / 491.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1209, allocations: 0 / 491.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.121, allocations: 79.84 kB / 492 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.1216, allocations: 61.08 kB / 492.1 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.1249, allocations: 3.079 MB / 495.1 MB, free: 5.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1252, allocations: 0.7833 MB / 495.9 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1253, allocations: 33.94 kB / 495.9 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1255, allocations: 103.4 kB / 496 MB, free: 4.477 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1255, allocations: 0 / 496 MB, free: 4.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1415, allocations: 6.28 MB / 0.4906 GB, free: 14.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.1418, allocations: 245 kB / 0.4908 GB, free: 14.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/1.92, allocations: 3.938 kB / 0.4908 GB, free: 14.04 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches