Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.91 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 62.45 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003485/0.1133, allocations: 1.789 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1151, allocations: 1.037 MB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1152, allocations: 4 kB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.1156, allocations: 31.84 kB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.116, allocations: 79.73 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1162, allocations: 67.83 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1165, allocations: 99.67 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1166, allocations: 12 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1167, allocations: 39.8 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1168, allocations: 47.7 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1168, allocations: 4 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.1171, allocations: 103.9 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.1171, allocations: 19.92 kB / 482.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.1172, allocations: 39.66 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.1175, allocations: 175.8 kB / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1175, allocations: 0 / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1175, allocations: 0 / 482.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1176, allocations: 0 / 482.9 MB, free: 2.082 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005904/0.1181, allocations: 427 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1182, allocations: 12.88 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.1183, allocations: 34.73 kB / 483.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.1183, allocations: 8.844 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1186, allocations: 212.1 kB / 483.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1186, allocations: 8.375 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1186, allocations: 3.938 kB / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1188, allocations: 67.39 kB / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1188, allocations: 0 / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1188, allocations: 0 / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1188, allocations: 3.938 kB / 483.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.1189, allocations: 19.98 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1193, allocations: 296.8 kB / 484 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1195, allocations: 62.61 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.1196, allocations: 28.97 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1196, allocations: 0 / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.1198, allocations: 79.33 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1198, allocations: 0 / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005912/0.1204, allocations: 201.2 kB / 484.4 MB, free: 472 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.1205, allocations: 81.11 kB / 484.4 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1207, allocations: 169.2 kB / 484.6 MB, free: 196 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1207, allocations: 25.7 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.1208, allocations: 104.1 kB / 484.7 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.1208, allocations: 39.53 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.1209, allocations: 25.77 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.121, allocations: 322.8 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.1211, allocations: 27.98 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.1212, allocations: 50.55 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1213, allocations: 85.61 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1213, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002211/0.1215, allocations: 129.4 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1216, allocations: 4 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1216, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1216, allocations: 4.094 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1217, allocations: 23.92 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1217, allocations: 3.938 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.1218, allocations: 8 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1218, allocations: 8.031 kB / 485.5 MB, free: 15.3 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 (13): * Single equations (assignments): 13 * 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 9.849e-05/0.1219, allocations: 125.8 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.1219, allocations: 11.91 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.122, allocations: 12.72 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.122, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.122, allocations: 7.922 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.122, allocations: 0 / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.1225, allocations: 423.2 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1225, allocations: 7.875 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.1226, allocations: 12 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1226, allocations: 0 / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1226, allocations: 3.984 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1226, allocations: 4 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1226, allocations: 0 / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1229, allocations: 216.3 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.1229, allocations: 92.94 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.123, allocations: 4 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.123, allocations: 4 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1231, allocations: 7.984 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1231, allocations: 4 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1232, allocations: 131 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1232, allocations: 4 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1235, allocations: 51.98 kB / 486.6 MB, free: 14.09 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 (10): * Single equations (assignments): 8 * 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.001695/0.1253, allocations: 1.217 MB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1255, allocations: 75.91 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1255, allocations: 0 / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.1256, allocations: 35.98 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1259, allocations: 20.11 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.1276, allocations: 1.679 MB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1279, allocations: 0.7049 MB / 490.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.992e-05/0.128, allocations: 24.56 kB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.1281, allocations: 35.42 kB / 490.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1281, allocations: 0 / 490.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.1429, allocations: 3.983 MB / 494.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.1431, allocations: 258.7 kB / 494.6 MB, free: 6.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.087, allocations: 0 / 494.6 MB, free: 6.223 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches