Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",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.000995/0.000995, allocations: 175 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.27/1.27, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0006817/0.0006815, allocations: 90.41 kB / 271.2 MB, free: 8.238 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.2889/0.2889, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 16 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1005, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001779/0.1024, allocations: 1.394 MB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1034, allocations: 0.7539 MB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.1035, allocations: 0 / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1037, allocations: 71.78 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1039, allocations: 67.78 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1041, allocations: 79.78 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1043, allocations: 95.67 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.1044, allocations: 16.22 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.1044, allocations: 43.84 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.1045, allocations: 47.75 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1046, allocations: 4 kB / 493.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.1046, allocations: 35.94 kB / 493.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.1047, allocations: 23.89 kB / 493.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.1048, allocations: 53.52 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1049, allocations: 96.08 kB / 493.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1049, allocations: 0 / 493.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1049, allocations: 3.938 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1049, allocations: 0 / 493.7 MB, free: 7.758 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.0004569/0.1054, allocations: 403.1 kB / 494.1 MB, free: 7.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1054, allocations: 8.031 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.1055, allocations: 30.75 kB / 494.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1055, allocations: 12.75 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1057, allocations: 204.1 kB / 494.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1057, allocations: 16.31 kB / 494.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1057, allocations: 3.938 kB / 494.4 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1059, allocations: 57.61 kB / 494.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1059, allocations: 0 / 494.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1059, allocations: 7.984 kB / 494.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1059, allocations: 0 / 494.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.106, allocations: 15.98 kB / 494.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.1063, allocations: 288.9 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1065, allocations: 62.62 kB / 494.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1065, allocations: 20.84 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1066, allocations: 0 / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.1067, allocations: 79.23 kB / 494.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1067, allocations: 4 kB / 494.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004769/0.1072, allocations: 173.1 kB / 495.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1073, allocations: 51.41 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1075, allocations: 222.3 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1075, allocations: 25.7 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1075, allocations: 104.1 kB / 495.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1076, allocations: 27.64 kB / 495.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1076, allocations: 0 / 495.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1077, allocations: 326.8 kB / 495.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.1077, allocations: 23.98 kB / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.1078, allocations: 37.64 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1079, allocations: 57.7 kB / 495.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1079, allocations: 0 / 495.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.1081, allocations: 109.5 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1081, allocations: 8.031 kB / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1081, allocations: 0 / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1082, allocations: 0 / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.1082, allocations: 19.98 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1083, allocations: 0 / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1083, allocations: 11.94 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1083, allocations: 0 / 496.1 MB, free: 5.156 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 9.552e-05/0.1084, allocations: 133.4 kB / 496.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.1084, allocations: 7.906 kB / 496.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.1085, allocations: 25.41 kB / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1085, allocations: 3.938 kB / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1085, allocations: 0 / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1085, allocations: 11.91 kB / 496.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.1089, allocations: 395.2 kB / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1089, allocations: 0 / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.109, allocations: 8 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.109, allocations: 11.97 kB / 496.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.109, allocations: 0 / 496.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.109, allocations: 3.984 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.109, allocations: 0 / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.1092, allocations: 196.3 kB / 496.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.1093, allocations: 89.11 kB / 496.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1093, allocations: 11.88 kB / 496.9 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.1094, allocations: 15.92 kB / 497 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.1094, allocations: 4 kB / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1094, allocations: 4.375 kB / 497 MB, free: 4.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1096, allocations: 160.2 kB / 497.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1096, allocations: 0 / 497.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.1098, allocations: 20 kB / 497.1 MB, free: 3.977 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.001231/0.111, allocations: 1.107 MB / 498.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1112, allocations: 59.97 kB / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1112, allocations: 0 / 498.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.1113, allocations: 31.92 kB / 498.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1116, allocations: 23.73 kB / 498.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1127, allocations: 0.7922 MB / 499.2 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.113, allocations: 0.7121 MB / 499.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.113, allocations: 35.42 kB / 499.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.113, allocations: 0 / 499.9 MB, free: 1.152 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.824/2.937, allocations: 2.316 MB / 0.4904 GB, free: 42.1 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches