Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, 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.001849/0.001849, 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.359/1.359, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 76.92 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 62.45 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003248/0.1104, allocations: 1.727 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1121, allocations: 1.017 MB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.1122, allocations: 0 / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1125, allocations: 63.73 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.1129, allocations: 99.59 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1131, allocations: 79.66 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1133, allocations: 99.7 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.1134, allocations: 12 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.1135, allocations: 51.7 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.1136, allocations: 31.8 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1136, allocations: 4 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1138, allocations: 43.98 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1138, allocations: 27.91 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.1139, allocations: 43.67 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1141, allocations: 131.8 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1141, allocations: 0 / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1141, allocations: 0 / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1141, allocations: 0 / 483.6 MB, free: 1.766 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.0005525/0.1147, allocations: 458.5 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1147, allocations: 12.03 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.1148, allocations: 30.75 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1148, allocations: 16.75 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.115, allocations: 217 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1151, allocations: 4.375 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1151, allocations: 3.938 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1152, allocations: 57.66 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1153, allocations: 7.984 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1153, allocations: 7.938 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1153, allocations: 0 / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.1154, allocations: 15.98 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1157, allocations: 292.9 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1159, allocations: 62.67 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.116, allocations: 28.72 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.116, allocations: 0 / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1162, allocations: 67.39 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1162, allocations: 0 / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.1167, allocations: 189.2 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1168, allocations: 55.41 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.117, allocations: 270.9 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1171, allocations: 33.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.1171, allocations: 108.1 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1172, allocations: 27.64 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1172, allocations: 21.72 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1173, allocations: 326.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.1174, allocations: 19.98 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.1175, allocations: 37.83 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1176, allocations: 73.7 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1176, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.1178, allocations: 109.4 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1178, allocations: 4 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1179, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1179, allocations: 4 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.118, allocations: 20.02 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.118, allocations: 0 / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.118, allocations: 8.125 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1181, allocations: 0 / 486.1 MB, free: 14.98 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 (10): * Single equations (assignments): 10 * 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.0001036/0.1182, allocations: 137.8 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.1182, allocations: 15.81 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1182, allocations: 25.39 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1183, allocations: 3.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1183, allocations: 4 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1183, allocations: 3.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1187, allocations: 399.3 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1187, allocations: 3.938 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1188, allocations: 11.98 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1188, allocations: 3.938 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1188, allocations: 8 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1188, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1188, allocations: 7.969 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.119, allocations: 200.2 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.1191, allocations: 89.02 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.1191, allocations: 7.938 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1192, allocations: 3.984 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1193, allocations: 7.938 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1193, allocations: 8 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1195, allocations: 212.4 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1195, allocations: 0 / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1197, allocations: 24 kB / 487.2 MB, free: 13.72 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 (8): * Single equations (assignments): 6 * 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.001471/0.1212, allocations: 1.099 MB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1214, allocations: 59.91 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1214, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.1215, allocations: 39.98 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1219, allocations: 30.59 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.124, allocations: 1.823 MB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1243, allocations: 0.7119 MB / 491 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.1243, allocations: 16.88 kB / 491 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.1244, allocations: 43.42 kB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of SimCode: time 1.873e-06/0.1244, allocations: 0 / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.1452, allocations: 3.717 MB / 494.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.658, allocations: 7.844 kB / 494.8 MB, free: 6.277 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches