Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",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.0008417/0.0008416, 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.268/1.268, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006958/0.0006958, allocations: 89.22 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.2921/0.2921, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 12 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001797/0.1062, allocations: 1.402 MB / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1072, allocations: 0.7383 MB / 493.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.1073, allocations: 3.938 kB / 493.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.1076, allocations: 75.83 kB / 493.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1078, allocations: 71.78 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.108, allocations: 79.84 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1082, allocations: 87.69 kB / 493.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.1083, allocations: 20.19 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.1083, allocations: 43.78 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.1084, allocations: 47.83 kB / 493.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1085, allocations: 4 kB / 493.5 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.1085, allocations: 35.92 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.1086, allocations: 19.91 kB / 493.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.1087, allocations: 61.44 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1088, allocations: 88.09 kB / 493.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1088, allocations: 0 / 493.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1088, allocations: 0 / 493.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1088, allocations: 0 / 493.7 MB, free: 7.777 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.0004561/0.1093, allocations: 407.1 kB / 494.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1093, allocations: 12.03 kB / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.1094, allocations: 34.75 kB / 494.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1094, allocations: 12.75 kB / 494.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1096, allocations: 208.1 kB / 494.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1097, allocations: 4.312 kB / 494.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1097, allocations: 7.938 kB / 494.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1098, allocations: 57.61 kB / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1098, allocations: 0 / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1098, allocations: 0 / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1099, allocations: 0 / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.1099, allocations: 23.98 kB / 494.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.1103, allocations: 288.9 kB / 494.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1104, allocations: 58.61 kB / 494.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.1105, allocations: 20.8 kB / 494.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1105, allocations: 8 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.1107, allocations: 71.28 kB / 494.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1107, allocations: 0 / 494.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004844/0.1112, allocations: 173.2 kB / 495.1 MB, free: 6.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1112, allocations: 51.41 kB / 495.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1114, allocations: 218.3 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1114, allocations: 29.7 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.1115, allocations: 108.1 kB / 495.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1115, allocations: 23.66 kB / 495.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1115, allocations: 0 / 495.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1116, allocations: 322.8 kB / 495.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.1117, allocations: 23.98 kB / 495.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.1117, allocations: 37.64 kB / 495.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1119, allocations: 65.69 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1119, allocations: 0 / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.112, allocations: 101.4 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1121, allocations: 4 kB / 496 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1121, allocations: 0 / 496 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1121, allocations: 4 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.1122, allocations: 15.98 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1122, allocations: 0 / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1122, allocations: 11.94 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1123, allocations: 4.406 kB / 496.1 MB, free: 5.18 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.913e-05/0.1124, allocations: 129.8 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.1124, allocations: 11.91 kB / 496.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.1124, allocations: 21.39 kB / 496.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1124, allocations: 3.938 kB / 496.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1124, allocations: 8 kB / 496.2 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1125, allocations: 3.938 kB / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.1129, allocations: 403.4 kB / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1129, allocations: 0 / 496.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.1129, allocations: 8 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1129, allocations: 7.922 kB / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1129, allocations: 0 / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1129, allocations: 4 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1129, allocations: 192 / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1132, allocations: 204.3 kB / 496.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.1132, allocations: 96.84 kB / 496.9 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1132, allocations: 7.922 kB / 496.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.1133, allocations: 8 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.1134, allocations: 4 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1134, allocations: 3.984 kB / 497 MB, free: 4.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1135, allocations: 156.2 kB / 497.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1135, allocations: 0 / 497.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.1137, allocations: 24 kB / 497.1 MB, free: 3.992 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.001266/0.115, allocations: 1.099 MB / 498.2 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1152, allocations: 55.98 kB / 498.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1152, allocations: 0 / 498.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.1152, allocations: 31.92 kB / 498.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1156, allocations: 31.66 kB / 498.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1167, allocations: 0.7925 MB / 499.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1169, allocations: 0.7083 MB / 499.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.117, allocations: 35.42 kB / 499.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.117, allocations: 0 / 499.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/2.956, allocations: 2.321 MB / 0.4904 GB, free: 42.07 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches