Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007218/0.0007219, allocations: 82.75 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2891/0.2891, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 19.98 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.001719/0.1023, allocations: 1.398 MB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.1033, allocations: 0.7383 MB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.1033, allocations: 0 / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1036, allocations: 51.81 kB / 493.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1037, allocations: 43.83 kB / 493.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.104, allocations: 75.83 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1041, allocations: 83.7 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.1042, allocations: 16.22 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.678e-05/0.1043, allocations: 35.84 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.1043, allocations: 35.78 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1044, allocations: 4 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.1044, allocations: 39.92 kB / 493.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.1045, allocations: 19.92 kB / 493.5 MB, free: 8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.1045, allocations: 65.42 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1047, allocations: 80.11 kB / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1047, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1047, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1047, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 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.0004343/0.1051, allocations: 411 kB / 494 MB, free: 7.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1052, allocations: 12.03 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.1052, allocations: 34.75 kB / 494.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.1053, allocations: 12.75 kB / 494.1 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.1055, allocations: 212 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1055, allocations: 12.25 kB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1055, allocations: 7.938 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1056, allocations: 53.67 kB / 494.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1057, allocations: 0 / 494.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1057, allocations: 4 kB / 494.4 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.1057, allocations: 4 kB / 494.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.1057, allocations: 15.98 kB / 494.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.106, allocations: 292.8 kB / 494.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1062, allocations: 62.62 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1063, allocations: 20.84 kB / 494.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1063, allocations: 3.984 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.1064, allocations: 67.39 kB / 494.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1064, allocations: 0 / 494.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004582/0.1069, allocations: 177.4 kB / 495 MB, free: 6.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.107, allocations: 59.34 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.1071, allocations: 222.6 kB / 495.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1072, allocations: 29.7 kB / 495.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.1072, allocations: 108.1 kB / 495.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.1073, allocations: 23.66 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1073, allocations: 0 / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1074, allocations: 326.8 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.1074, allocations: 23.92 kB / 495.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.1075, allocations: 37.7 kB / 495.8 MB, free: 5.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.1076, allocations: 57.7 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1076, allocations: 0 / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001644/0.1078, allocations: 105.4 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1078, allocations: 4 kB / 496 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1078, allocations: 128 / 496 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1078, allocations: 4 kB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.1079, allocations: 28.02 kB / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1079, allocations: 160 / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.108, allocations: 7.938 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.108, allocations: 7.984 kB / 496 MB, free: 5.211 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.666e-05/0.1081, allocations: 137.6 kB / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.1081, allocations: 7.906 kB / 496.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.1081, allocations: 25.38 kB / 496.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1081, allocations: 3.938 kB / 496.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1082, allocations: 4 kB / 496.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1082, allocations: 3.938 kB / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.1085, allocations: 391.3 kB / 496.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1085, allocations: 0 / 496.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.1086, allocations: 11.98 kB / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.1086, allocations: 7.938 kB / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1086, allocations: 0 / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1086, allocations: 0 / 496.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1086, allocations: 4.031 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1089, allocations: 204.1 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.1089, allocations: 96.91 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1089, allocations: 7.938 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.109, allocations: 4 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.1091, allocations: 4.172 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1091, allocations: 8 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1092, allocations: 180.2 kB / 497.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1092, allocations: 0 / 497.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.1094, allocations: 20 kB / 497.1 MB, free: 4.012 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.1106, allocations: 1.09 MB / 498.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.1108, allocations: 55.95 kB / 498.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1108, allocations: 3.938 kB / 498.3 MB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.1109, allocations: 36.05 kB / 498.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.1112, allocations: 23.91 kB / 498.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1122, allocations: 0.8213 MB / 499.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1125, allocations: 0.7121 MB / 499.8 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.1126, allocations: 39.42 kB / 499.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1126, allocations: 4 kB / 499.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.914/3.027, allocations: 2.375 MB / 0.4905 GB, free: 42.07 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches