Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001954, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 81.34 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003014/0.1096, allocations: 1.689 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1112, allocations: 1.005 MB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.1112, allocations: 0 / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1115, allocations: 83.7 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1119, allocations: 111.6 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.1121, allocations: 71.67 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1123, allocations: 111.7 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1123, allocations: 8.234 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.1124, allocations: 55.77 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.1125, allocations: 51.77 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1125, allocations: 4 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.1126, allocations: 35.98 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1127, allocations: 19.92 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.1127, allocations: 39.67 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1129, allocations: 107.9 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1129, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1129, allocations: 0 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1129, allocations: 4 kB / 483.5 MB, free: 1.785 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.0004862/0.1134, allocations: 414.9 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1135, allocations: 11.97 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.1135, allocations: 34.75 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1136, allocations: 16.73 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1138, allocations: 208.1 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1138, allocations: 4.359 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1138, allocations: 11.88 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1139, allocations: 49.67 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.114, allocations: 0 / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.114, allocations: 0 / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.114, allocations: 3.984 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.1141, allocations: 15.94 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.1142, allocations: 189.6 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1144, allocations: 54.56 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.1145, allocations: 24.84 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1145, allocations: 4 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.1146, allocations: 59.39 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1147, allocations: 0 / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002621/0.1149, allocations: 97.52 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.115, allocations: 55.41 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1152, allocations: 220.3 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1152, allocations: 29.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.1152, allocations: 108.2 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1153, allocations: 11.75 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1153, allocations: 25.66 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1154, allocations: 330.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.1155, allocations: 12 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.362e-05/0.1155, allocations: 29.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1157, allocations: 53.89 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1157, allocations: 3.938 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001501/0.1158, allocations: 77.53 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1158, allocations: 8 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1159, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1159, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.1159, allocations: 12.03 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.116, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.116, allocations: 15.89 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.116, allocations: 4.156 kB / 485.7 MB, free: 15.38 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 8.919e-05/0.1161, allocations: 121.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1161, allocations: 15.89 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.1162, allocations: 13 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1162, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1162, allocations: 3.938 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1162, allocations: 4 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.1163, allocations: 197.5 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1164, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.1164, allocations: 7.938 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1164, allocations: 0 / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.1164, allocations: 4 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1164, allocations: 7.969 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1164, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.1166, allocations: 112.9 kB / 486.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.1167, allocations: 85 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1167, allocations: 4 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.1167, allocations: 4 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.1168, allocations: 4.125 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1168, allocations: 11.97 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1169, allocations: 165.2 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1169, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.1172, allocations: 16 kB / 486.4 MB, free: 14.53 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.001234/0.1184, allocations: 0.9476 MB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1186, allocations: 47.91 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1186, allocations: 0 / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.1187, allocations: 16.12 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1189, allocations: 42.78 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1207, allocations: 1.557 MB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.121, allocations: 0.708 MB / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.121, allocations: 12.55 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.1211, allocations: 31.42 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1211, allocations: 0 / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.1413, allocations: 3.19 MB / 493 MB, free: 8.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.625, allocations: 3.938 kB / 493 MB, free: 8.055 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches