Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008707/0.0008709, allocations: 101.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008788/0.0008788, allocations: 185.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3047/0.3047, allocations: 43.57 MB / 315 MB, free: 8.672 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005042, allocations: 16.47 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001969/0.1133, allocations: 1.503 MB / 445.1 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1152, allocations: 1.43 MB / 446.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.1153, allocations: 7.938 kB / 446.5 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1156, allocations: 43.83 kB / 446.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1158, allocations: 75.67 kB / 446.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1161, allocations: 127.8 kB / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1163, allocations: 171.5 kB / 446.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.1164, allocations: 17.55 kB / 446.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1165, allocations: 71.58 kB / 447 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1167, allocations: 75.61 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1167, allocations: 4 kB / 447.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1169, allocations: 59.97 kB / 447.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.1169, allocations: 27.91 kB / 447.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.933e-05/0.117, allocations: 89.19 kB / 447.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1172, allocations: 163.8 kB / 447.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1172, allocations: 0 / 447.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1173, allocations: 4 kB / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1173, allocations: 0 / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005968/0.1179, allocations: 446.7 kB / 447.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1179, allocations: 12.03 kB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.118, allocations: 38.73 kB / 447.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.118, allocations: 12.84 kB / 447.9 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.1183, allocations: 247.5 kB / 448.1 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1183, allocations: 4.375 kB / 448.1 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1184, allocations: 11.94 kB / 448.2 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1186, allocations: 97.06 kB / 448.3 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1186, allocations: 0 / 448.3 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1186, allocations: 8 kB / 448.3 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1186, allocations: 0 / 448.3 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.1187, allocations: 31.91 kB / 448.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1189, allocations: 214.5 kB / 448.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.1192, allocations: 113.1 kB / 448.6 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.1193, allocations: 41.7 kB / 448.7 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1194, allocations: 4 kB / 448.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.1196, allocations: 116.9 kB / 448.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.1196, allocations: 0 / 448.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003963/0.12, allocations: 157.5 kB / 448.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1201, allocations: 136.5 kB / 449.1 MB, free: 6.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1203, allocations: 211.8 kB / 449.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1203, allocations: 29.7 kB / 449.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.1204, allocations: 116.1 kB / 449.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.1204, allocations: 27.64 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.1205, allocations: 17.72 kB / 449.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1206, allocations: 330.8 kB / 449.8 MB, free: 6.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.1207, allocations: 27.98 kB / 449.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.602e-05/0.1208, allocations: 69.14 kB / 449.9 MB, free: 5.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1209, allocations: 91.84 kB / 450 MB, free: 5.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.121, allocations: 3.938 kB / 450 MB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002452/0.1212, allocations: 141.4 kB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1212, allocations: 7.938 kB / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1212, allocations: 0 / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1213, allocations: 4 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1214, allocations: 23.92 kB / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1214, allocations: 4 kB / 450.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.1215, allocations: 11.98 kB / 450.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1215, allocations: 4 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.1216, allocations: 141.8 kB / 450.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1216, allocations: 15.81 kB / 450.3 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.1217, allocations: 20.98 kB / 450.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1217, allocations: 4 kB / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1217, allocations: 0 / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1217, allocations: 0 / 450.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1219, allocations: 225.3 kB / 450.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1219, allocations: 0 / 450.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.1219, allocations: 12 kB / 450.6 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1219, allocations: 4 kB / 450.6 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1219, allocations: 4 kB / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1219, allocations: 0 / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.122, allocations: 0 / 450.6 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1222, allocations: 169.6 kB / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.1223, allocations: 104.8 kB / 450.8 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1223, allocations: 4 kB / 450.8 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.1224, allocations: 11.98 kB / 450.9 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1225, allocations: 8 kB / 450.9 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1225, allocations: 7.984 kB / 450.9 MB, free: 4.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1226, allocations: 161.5 kB / 451 MB, free: 4.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1226, allocations: 0 / 451 MB, free: 4.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1229, allocations: 39.98 kB / 451.1 MB, free: 4.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/0.1243, allocations: 1.051 MB / 452.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.1245, allocations: 87.89 kB / 452.2 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1245, allocations: 0 / 452.2 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.24e-05/0.1246, allocations: 35.98 kB / 452.2 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.125, allocations: 55.39 kB / 452.3 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1269, allocations: 1.835 MB / 454.1 MB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1272, allocations: 0.7167 MB / 454.8 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.344e-05/0.1273, allocations: 29.53 kB / 454.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.1274, allocations: 51.41 kB / 454.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1274, allocations: 0 / 454.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1925/0.3199, allocations: 4.159 MB / 459.1 MB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.3201, allocations: 233.6 kB / 459.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.043, allocations: 2.812 kB / 459.3 MB, free: 45.07 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches