Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.001184/0.001184, allocations: 107.1 kB / 17.32 MB, free: 6.008 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.001233/0.001233, allocations: 189.4 kB / 18.25 MB, free: 5.098 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.486/1.486, allocations: 222.9 MB / 241.9 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.17 MB / 336.2 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 60.5 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004183/0.114, allocations: 1.722 MB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1155, allocations: 0.838 MB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1156, allocations: 0 / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.116, allocations: 47.88 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.1164, allocations: 51.83 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1168, allocations: 91.77 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.117, allocations: 95.69 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.1171, allocations: 8 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1172, allocations: 43.78 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1173, allocations: 31.84 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1173, allocations: 4 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1175, allocations: 39.92 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.1175, allocations: 23.92 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.68e-05/0.1176, allocations: 35.69 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1179, allocations: 111.9 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1179, allocations: 0 / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1179, allocations: 4 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1179, allocations: 0 / 472 MB, free: 11.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006963/0.1186, allocations: 430.7 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1187, allocations: 8.031 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.1187, allocations: 38.67 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.1188, allocations: 16.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.119, allocations: 216 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.119, allocations: 384 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1191, allocations: 11.92 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1192, allocations: 49.62 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1192, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1192, allocations: 4 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1193, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.1193, allocations: 19.92 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.1195, allocations: 189.7 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1197, allocations: 54.56 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1198, allocations: 20.84 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1198, allocations: 4 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.12, allocations: 63.39 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.12, allocations: 0 / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003183/0.1203, allocations: 101.4 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1204, allocations: 55.41 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.1208, allocations: 262.9 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1208, allocations: 25.7 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.1209, allocations: 112.1 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1209, allocations: 15.88 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.121, allocations: 21.72 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1211, allocations: 326.8 kB / 474 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.1212, allocations: 15.98 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.1213, allocations: 29.72 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/0.1214, allocations: 49.89 kB / 474.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1214, allocations: 7.938 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001665/0.1216, allocations: 85.44 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1216, allocations: 7.984 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1216, allocations: 0 / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1216, allocations: 0 / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.1217, allocations: 12.03 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1217, allocations: 4 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.1218, allocations: 7.844 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1218, allocations: 4 kB / 474.2 MB, free: 8.98 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 (7): * Single equations (assignments): 7 * 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.0001273/0.1219, allocations: 140.4 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.122, allocations: 7.906 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.122, allocations: 20.98 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.122, allocations: 0 / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.122, allocations: 0 / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.122, allocations: 4 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1222, allocations: 197.6 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1222, allocations: 4 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.1223, allocations: 0 / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1223, allocations: 7.938 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1223, allocations: 3.984 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1223, allocations: 3.938 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1223, allocations: 0 / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1225, allocations: 112.9 kB / 474.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1226, allocations: 92.89 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1226, allocations: 8 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.1226, allocations: 0 / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1227, allocations: 4 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1227, allocations: 8.109 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1229, allocations: 200.2 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1229, allocations: 0 / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1231, allocations: 16 kB / 475 MB, free: 8.07 MB / 350.1 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 (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.001636/0.1248, allocations: 0.9623 MB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.125, allocations: 47.91 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.125, allocations: 0 / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.327e-05/0.1251, allocations: 16.19 kB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1254, allocations: 44.34 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1274, allocations: 1.662 MB / 477.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1277, allocations: 0.7119 MB / 478.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.68e-05/0.1278, allocations: 12.53 kB / 478.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.1279, allocations: 43.42 kB / 478.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1279, allocations: 0 / 478.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.1418, allocations: 3.23 MB / 481.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.142, allocations: 235.2 kB / 482 MB, free: 1.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.066, allocations: 0 / 482 MB, free: 1.219 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches