Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008418/0.0008418, allocations: 93.67 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.001003/0.001003, allocations: 203.6 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.256/1.256, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 8.375 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1024, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002335/0.1048, allocations: 1.972 MB / 485.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1066, allocations: 1.282 MB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1067, allocations: 7.938 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.107, allocations: 111.6 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.1074, allocations: 207.2 kB / 486.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1077, allocations: 155.7 kB / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.1081, allocations: 438.6 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1083, allocations: 57.36 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.1086, allocations: 259 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1087, allocations: 147.1 kB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1088, allocations: 11.94 kB / 487.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1089, allocations: 63.98 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.109, allocations: 123.5 kB / 488 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1092, allocations: 196.2 kB / 488.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.1095, allocations: 418.2 kB / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1095, allocations: 0 / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1096, allocations: 0 / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1096, allocations: 4 kB / 488.6 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008645/0.1104, allocations: 0.7509 MB / 489.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1105, allocations: 8.875 kB / 489.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1105, allocations: 46.73 kB / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.1106, allocations: 60.19 kB / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.111, allocations: 416.4 kB / 489.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1111, allocations: 12.38 kB / 489.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.1111, allocations: 23.92 kB / 489.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.1114, allocations: 193.5 kB / 490.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1115, allocations: 3.984 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1115, allocations: 4 kB / 490.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1115, allocations: 4 kB / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.1117, allocations: 99.86 kB / 490.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.1125, allocations: 0.7976 MB / 491 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.113, allocations: 246.5 kB / 491.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1132, allocations: 91.52 kB / 491.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1133, allocations: 11.98 kB / 491.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003315/0.1136, allocations: 206.2 kB / 491.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.1136, allocations: 0 / 491.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002193/0.1158, allocations: 1.126 MB / 492.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.1159, allocations: 132.5 kB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.1166, allocations: 0.7969 MB / 493.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1167, allocations: 37.7 kB / 493.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1169, allocations: 240.9 kB / 493.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.117, allocations: 142.1 kB / 494 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.117, allocations: 41.7 kB / 494 MB, free: 8.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1172, allocations: 370.8 kB / 494.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.1174, allocations: 116.8 kB / 494.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1176, allocations: 183.2 kB / 494.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.1181, allocations: 322.7 kB / 495 MB, free: 7.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1181, allocations: 3.938 kB / 495 MB, free: 7.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006553/0.1188, allocations: 432.7 kB / 495.4 MB, free: 7.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1188, allocations: 6.969 kB / 495.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1188, allocations: 4 kB / 495.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1189, allocations: 4 kB / 495.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.1191, allocations: 95.77 kB / 495.5 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1191, allocations: 7.938 kB / 495.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1193, allocations: 16 kB / 495.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.1193, allocations: 19.98 kB / 495.6 MB, free: 7.242 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002196/0.1195, allocations: 228 kB / 495.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.1196, allocations: 71.16 kB / 495.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.1198, allocations: 76.92 kB / 496 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1198, allocations: 7.938 kB / 496 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.1198, allocations: 3.938 kB / 496 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.1198, allocations: 11.92 kB / 496 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1213, allocations: 1.307 MB / 497.3 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.1213, allocations: 4 kB / 497.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1214, allocations: 55.92 kB / 497.3 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1214, allocations: 4 kB / 497.3 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.1215, allocations: 23.98 kB / 497.4 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1215, allocations: 4 kB / 497.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.1215, allocations: 11.88 kB / 497.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.1223, allocations: 0.7867 MB / 498.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.1225, allocations: 184.2 kB / 498.3 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.1225, allocations: 12 kB / 498.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.1228, allocations: 23.98 kB / 498.4 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.1229, allocations: 43.83 kB / 498.4 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.123, allocations: 23.98 kB / 498.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005847/0.1235, allocations: 0.5811 MB / 499 MB, free: 3.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1235, allocations: 0 / 499 MB, free: 3.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.124, allocations: 87.98 kB / 499.1 MB, free: 3.547 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002072/0.1261, allocations: 1.745 MB / 0.4891 GB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005722/0.1267, allocations: 319.9 kB / 0.4894 GB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1267, allocations: 4.062 kB / 0.4894 GB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.127, allocations: 167.7 kB / 0.4896 GB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.1282, allocations: 118.3 kB / 0.4897 GB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.1341, allocations: 5.013 MB / 0.4946 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1346, allocations: 0.89 MB / 0.4955 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1348, allocations: 83.3 kB / 0.4955 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.135, allocations: 187.4 kB / 0.4957 GB, free: 10.95 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.135, allocations: 0 / 0.4957 GB, free: 10.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.1568, allocations: 9.99 MB / 0.5055 GB, free: 1.109 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.157, allocations: 240.1 kB / 0.5057 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.024, allocations: 0 / 0.5057 GB, free: 0.8477 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches