Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",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.0008222/0.0008222, allocations: 176 kB / 16.72 MB, free: 4.961 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.266/1.266, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007229/0.000723, allocations: 90.3 kB / 271.2 MB, free: 8.234 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.29/0.29, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 20 kB / 432.1 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09994, allocations: 58.85 MB / 490.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001811/0.1018, allocations: 1.402 MB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1028, allocations: 0.7383 MB / 493.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.1029, allocations: 7.938 kB / 493.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1031, allocations: 35.89 kB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1033, allocations: 39.83 kB / 493.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1035, allocations: 71.86 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1036, allocations: 79.69 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.1037, allocations: 16.22 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.1038, allocations: 43.78 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.1039, allocations: 31.84 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1039, allocations: 0 / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.104, allocations: 39.92 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.104, allocations: 15.92 kB / 493.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.1041, allocations: 53.52 kB / 493.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1042, allocations: 84.09 kB / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1043, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1043, allocations: 0 / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1043, 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.0004485/0.1047, allocations: 399.1 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1048, allocations: 15.97 kB / 494 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.1048, allocations: 34.75 kB / 494 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1049, allocations: 8.844 kB / 494 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1051, allocations: 212 kB / 494.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1051, allocations: 8.312 kB / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1051, allocations: 7.938 kB / 494.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1052, allocations: 53.67 kB / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1053, allocations: 0 / 494.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1053, allocations: 4 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1053, allocations: 0 / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.1054, allocations: 23.92 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.1057, allocations: 284.8 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1058, allocations: 58.67 kB / 494.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.1059, allocations: 20.86 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1059, allocations: 3.984 kB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.1061, allocations: 71.33 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1061, allocations: 0 / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004709/0.1066, allocations: 169.4 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1066, allocations: 55.39 kB / 495 MB, free: 6.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1068, allocations: 186.2 kB / 495.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1068, allocations: 29.64 kB / 495.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.1069, allocations: 104.1 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1069, allocations: 31.62 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.1069, allocations: 4 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.107, allocations: 322.8 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.1071, allocations: 16 kB / 495.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.1071, allocations: 37.7 kB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1072, allocations: 61.64 kB / 495.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1073, allocations: 0 / 495.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.1074, allocations: 93.59 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1074, allocations: 7.281 kB / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1074, allocations: 4 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1075, allocations: 3.984 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.1075, allocations: 15.94 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1076, allocations: 4.031 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.1076, allocations: 7.938 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1076, allocations: 4 kB / 495.9 MB, free: 5.301 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 0.0001019/0.1077, allocations: 133.6 kB / 496 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.1078, allocations: 11.81 kB / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.1078, allocations: 20.7 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1078, allocations: 3.938 kB / 496.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1078, allocations: 0 / 496.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1078, allocations: 3.938 kB / 496.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1082, allocations: 395.5 kB / 496.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1082, allocations: 4 kB / 496.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.1083, allocations: 11.94 kB / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1083, allocations: 3.938 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1083, allocations: 3.984 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1083, allocations: 0 / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1083, allocations: 4 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1085, allocations: 196.3 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.1086, allocations: 88.92 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1086, allocations: 11.94 kB / 496.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1087, allocations: 3.984 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1087, allocations: 4 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1087, allocations: 4 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.614e-05/0.1088, allocations: 148.2 kB / 496.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1089, allocations: 0 / 496.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.1091, allocations: 27.92 kB / 497 MB, free: 4.145 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.001207/0.1103, allocations: 1.102 MB / 498.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1105, allocations: 59.91 kB / 498.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1105, allocations: 0 / 498.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.204e-05/0.1105, allocations: 27.94 kB / 498.1 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1108, allocations: 32.09 kB / 498.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1119, allocations: 0.7285 MB / 498.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1121, allocations: 0.7004 MB / 499.6 MB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.1122, allocations: 35.42 kB / 499.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1122, allocations: 0 / 499.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/2.954, allocations: 2.207 MB / 0.4901 GB, free: 42.34 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches