Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.0007288/0.0007289, allocations: 91.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000861/0.000861, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1732/0.1732, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 12 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1113, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00173/0.1131, allocations: 1.413 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1148, allocations: 1.429 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.1149, allocations: 4 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1151, allocations: 35.89 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1153, allocations: 47.78 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1155, allocations: 87.83 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1157, allocations: 99.67 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.695e-05/0.1158, allocations: 8.234 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.1158, allocations: 35.8 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.116, allocations: 43.77 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.116, allocations: 4 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1161, allocations: 55.97 kB / 475.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.1162, allocations: 11.92 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.1162, allocations: 57.5 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1164, allocations: 120 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1164, allocations: 7.938 kB / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1164, allocations: 3.938 kB / 475.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1164, allocations: 0 / 475.8 MB, free: 9.758 MB / 350.1 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.0004783/0.1169, allocations: 391.2 kB / 476.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.117, allocations: 8.031 kB / 476.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.117, allocations: 38.75 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.117, allocations: 8.844 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1172, allocations: 198.4 kB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1173, allocations: 8.375 kB / 476.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1173, allocations: 7.938 kB / 476.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1174, allocations: 75.31 kB / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1174, allocations: 0 / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1175, allocations: 0 / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1175, allocations: 4 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.1175, allocations: 19.98 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.1179, allocations: 288.8 kB / 476.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.118, allocations: 54.62 kB / 476.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.1181, allocations: 24.84 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1181, allocations: 3.938 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.1183, allocations: 67.39 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1183, allocations: 0 / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004725/0.1188, allocations: 177.2 kB / 477.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1188, allocations: 77.11 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.119, allocations: 160.2 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.119, allocations: 29.7 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.119, allocations: 88.14 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1191, allocations: 27.64 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1191, allocations: 21.72 kB / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.1192, allocations: 322.8 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.1193, allocations: 19.98 kB / 477.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.1193, allocations: 46.5 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1194, allocations: 49.72 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1194, allocations: 4 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001679/0.1196, allocations: 105.5 kB / 478.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1196, allocations: 4 kB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1196, allocations: 0 / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1197, allocations: 4.188 kB / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.1197, allocations: 12 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1198, allocations: 7.922 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1198, allocations: 7.938 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1198, allocations: 0 / 478.1 MB, free: 7.188 MB / 350.1 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 ($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 (10): * Single equations (assignments): 10 * 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 8.982e-05/0.1199, allocations: 136.5 kB / 478.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.12, allocations: 7.906 kB / 478.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.12, allocations: 16.7 kB / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.12, allocations: 0 / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.12, allocations: 4 kB / 478.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.12, allocations: 3.938 kB / 478.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.1204, allocations: 391.2 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1204, allocations: 32 / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1205, allocations: 15.98 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1205, allocations: 3.938 kB / 478.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.1205, allocations: 384 / 478.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1205, allocations: 4 kB / 478.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1205, allocations: 0 / 478.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1207, allocations: 212.2 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.1208, allocations: 89 kB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1208, allocations: 7.938 kB / 479 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1209, allocations: 8 kB / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.1209, allocations: 3.984 kB / 479 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1209, allocations: 4 kB / 479 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.121, allocations: 119.2 kB / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.121, allocations: 0 / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1213, allocations: 28 kB / 479.2 MB, free: 6.047 MB / 350.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: 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 (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.001379/0.1227, allocations: 1.126 MB / 480.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1229, allocations: 63.89 kB / 480.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1229, allocations: 0 / 480.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.1229, allocations: 27.94 kB / 480.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1233, allocations: 38.73 kB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1248, allocations: 1.562 MB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.125, allocations: 0.6926 MB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.1251, allocations: 16.86 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.1252, allocations: 35.42 kB / 482.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1252, allocations: 3.938 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.1393, allocations: 3.079 MB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.1396, allocations: 248.6 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.027, allocations: 4.062 kB / 486.1 MB, free: 15.32 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches