Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",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.0008225/0.0008226, allocations: 175.5 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.233/1.233, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007723/0.0007724, allocations: 92.14 kB / 271.2 MB, free: 8.25 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.2992/0.2992, allocations: 43.58 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003774, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1114, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001923/0.1133, allocations: 1.358 MB / 492.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1145, allocations: 0.7278 MB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.1146, allocations: 3.938 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1148, allocations: 47.86 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.115, allocations: 55.81 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.1152, allocations: 75.78 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1154, allocations: 79.7 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1154, allocations: 7.984 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.1155, allocations: 39.84 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.1156, allocations: 31.84 kB / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1156, allocations: 0 / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.1157, allocations: 31.92 kB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.1157, allocations: 23.92 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.1158, allocations: 61.42 kB / 493.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1159, allocations: 88.05 kB / 493.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1159, allocations: 4 kB / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1159, allocations: 0 / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.116, allocations: 0 / 493.6 MB, free: 7.895 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004625/0.1164, allocations: 411 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1165, allocations: 8.031 kB / 494 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1165, allocations: 34.75 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1165, allocations: 16.75 kB / 494 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1168, allocations: 227.6 kB / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1168, allocations: 384 / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1168, allocations: 7.938 kB / 494.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1169, allocations: 45.67 kB / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.117, allocations: 0 / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.117, allocations: 0 / 494.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.117, allocations: 4 kB / 494.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.1171, allocations: 15.98 kB / 494.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.1173, allocations: 189.7 kB / 494.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1174, allocations: 62.42 kB / 494.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.1175, allocations: 20.84 kB / 494.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1175, allocations: 0 / 494.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.1177, allocations: 71.39 kB / 494.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1177, allocations: 0 / 494.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002552/0.118, allocations: 101.4 kB / 494.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.118, allocations: 55.34 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1183, allocations: 255.7 kB / 495.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1183, allocations: 25.7 kB / 495.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.1184, allocations: 112.1 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1184, allocations: 11.91 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1184, allocations: 4 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.1185, allocations: 326.8 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.1186, allocations: 15.98 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.1186, allocations: 29.69 kB / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.1187, allocations: 45.66 kB / 495.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1187, allocations: 3.938 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001385/0.1189, allocations: 85.48 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1189, allocations: 11.28 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1189, allocations: 320 / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1189, allocations: 0 / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.119, allocations: 11.94 kB / 495.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.119, allocations: 8 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.119, allocations: 11.83 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1191, allocations: 4 kB / 495.7 MB, free: 5.469 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 (7): * Single equations (assignments): 7 * 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.0001028/0.1192, allocations: 145.6 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.1192, allocations: 7.906 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.1192, allocations: 17 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1192, allocations: 0 / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1192, allocations: 0 / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1193, allocations: 3.984 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1194, allocations: 193.6 kB / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1194, allocations: 0 / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.1194, allocations: 7.984 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1194, allocations: 0 / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1194, allocations: 8 kB / 496.1 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1195, allocations: 3.938 kB / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1195, allocations: 0 / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.1196, allocations: 116.8 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.1197, allocations: 88.92 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1197, allocations: 4 kB / 496.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.1197, allocations: 3.984 kB / 496.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1198, allocations: 4 kB / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1198, allocations: 8 kB / 496.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.12, allocations: 203 kB / 496.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.12, allocations: 0 / 496.5 MB, free: 4.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.1202, allocations: 16 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001081/0.1212, allocations: 0.9513 MB / 497.5 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1214, allocations: 35.98 kB / 497.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1214, allocations: 0 / 497.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.1215, allocations: 27.92 kB / 497.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1217, allocations: 19.98 kB / 497.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1228, allocations: 0.8445 MB / 498.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1231, allocations: 0.7199 MB / 499.2 MB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.1231, allocations: 39.42 kB / 499.2 MB, free: 1.852 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1231, allocations: 0 / 499.2 MB, free: 1.852 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.905/3.028, allocations: 2.324 MB / 0.4898 GB, free: 42.52 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches