Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6",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.0008302/0.0008301, allocations: 177.1 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.261/1.261, 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.0007567/0.0007568, allocations: 94.34 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.2935/0.2935, allocations: 43.56 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 12 kB / 432.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1085, allocations: 58.86 MB / 490.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002078/0.1106, allocations: 1.398 MB / 492.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1119, allocations: 0.7461 MB / 493.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.715e-05/0.112, allocations: 4 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.1123, allocations: 47.86 kB / 493.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1125, allocations: 47.83 kB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1128, allocations: 75.84 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.113, allocations: 83.69 kB / 493.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.1131, allocations: 16.22 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.1132, allocations: 39.78 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.1133, allocations: 39.83 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1133, allocations: 0 / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1134, allocations: 39.94 kB / 493.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.1135, allocations: 31.84 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.1135, allocations: 57.45 kB / 493.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1137, allocations: 96.08 kB / 493.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1137, allocations: 3.984 kB / 493.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1137, allocations: 0 / 493.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1137, allocations: 0 / 493.7 MB, free: 8.016 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.0005148/0.1143, allocations: 426.8 kB / 494.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1143, allocations: 12.02 kB / 494.1 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1144, allocations: 34.75 kB / 494.1 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.1144, allocations: 16.75 kB / 494.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1146, allocations: 216.9 kB / 494.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1147, allocations: 8.312 kB / 494.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1147, allocations: 7.844 kB / 494.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1148, allocations: 53.67 kB / 494.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1149, allocations: 0 / 494.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1149, allocations: 4 kB / 494.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1149, allocations: 0 / 494.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.115, allocations: 23.92 kB / 494.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1154, allocations: 300.9 kB / 494.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1155, allocations: 54.69 kB / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.1156, allocations: 20.84 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1156, allocations: 0 / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.1158, allocations: 75.33 kB / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1158, allocations: 0 / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005393/0.1164, allocations: 188.9 kB / 495.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1164, allocations: 55.41 kB / 495.1 MB, free: 6.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1167, allocations: 272.8 kB / 495.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1167, allocations: 33.7 kB / 495.4 MB, free: 6.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.1168, allocations: 112.1 kB / 495.5 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1168, allocations: 23.66 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.1168, allocations: 4 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.117, allocations: 330.8 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.117, allocations: 16 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.98e-05/0.1171, allocations: 37.7 kB / 495.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1172, allocations: 61.64 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1172, allocations: 0 / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.1174, allocations: 105.5 kB / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1174, allocations: 7.281 kB / 496.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1174, allocations: 3.938 kB / 496.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1175, allocations: 4 kB / 496.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.1175, allocations: 15.98 kB / 496.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1176, allocations: 0 / 496.1 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.1176, allocations: 8.312 kB / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1176, allocations: 4.031 kB / 496.1 MB, free: 5.289 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.0001135/0.1178, allocations: 141.6 kB / 496.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1178, allocations: 15.8 kB / 496.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.1178, allocations: 25.39 kB / 496.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1178, allocations: 11.94 kB / 496.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1179, allocations: 0 / 496.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1179, allocations: 3.938 kB / 496.3 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1183, allocations: 407.5 kB / 496.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1183, allocations: 0 / 496.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.1184, allocations: 19.92 kB / 496.7 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1184, allocations: 3.938 kB / 496.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1184, allocations: 4 kB / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1184, allocations: 0 / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1184, allocations: 0 / 496.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1186, allocations: 200.2 kB / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1187, allocations: 100.9 kB / 497.1 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1187, allocations: 3.938 kB / 497.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1188, allocations: 4.188 kB / 497.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1188, allocations: 7.984 kB / 497.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1189, allocations: 7.938 kB / 497.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.119, allocations: 208.5 kB / 497.3 MB, free: 4.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.119, allocations: 3.938 kB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.1193, allocations: 24 kB / 497.3 MB, free: 4.02 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.001298/0.1206, allocations: 1.09 MB / 498.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.1208, allocations: 63.89 kB / 498.5 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1208, allocations: 0 / 498.5 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.1209, allocations: 35.92 kB / 498.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1212, allocations: 19.98 kB / 498.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1225, allocations: 0.9394 MB / 499.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1228, allocations: 0.7199 MB / 0.4884 GB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.1229, allocations: 39.42 kB / 0.4885 GB, free: 1.043 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1229, allocations: 0 / 0.4885 GB, free: 1.043 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.889/3.012, allocations: 2.611 MB / 0.491 GB, free: 42.26 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches