Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001844/0.001844, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001941/0.001942, allocations: 194 kB / 18.12 MB, free: 5.383 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.549/1.549, allocations: 222.9 MB / 241.8 MB, free: 15.52 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.2527/0.2527, allocations: 44.18 MB / 336.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.5 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 60.83 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002775/0.1233, allocations: 1.965 MB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1245, allocations: 0.9043 MB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.1246, allocations: 7.938 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.1249, allocations: 39.83 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1251, allocations: 43.83 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1254, allocations: 107.5 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1255, allocations: 135.5 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1256, allocations: 33.47 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.1257, allocations: 51.67 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.1258, allocations: 47.7 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1258, allocations: 4 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.1259, allocations: 39.98 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.126, allocations: 31.91 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.1261, allocations: 43.69 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1263, allocations: 143.7 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1263, allocations: 0 / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1263, allocations: 3.938 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1263, allocations: 0 / 472.2 MB, free: 11.16 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005417/0.1268, allocations: 476.6 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1269, allocations: 8.031 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1269, allocations: 42.73 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.127, allocations: 20.75 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1272, allocations: 219.9 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1272, allocations: 384 / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1272, allocations: 19.92 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1274, allocations: 96.23 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1274, allocations: 0 / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1275, allocations: 7.984 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1275, allocations: 8 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1276, allocations: 47.91 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1281, allocations: 0.5165 MB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.1284, allocations: 90.64 kB / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.1285, allocations: 32.84 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1286, allocations: 4 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.1288, allocations: 87.31 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.1288, allocations: 0 / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003695/0.1291, allocations: 149.6 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1292, allocations: 55.44 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1293, allocations: 195.4 kB / 474.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1294, allocations: 29.7 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.1294, allocations: 120 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1295, allocations: 23.62 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1295, allocations: 29.7 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.1296, allocations: 322.8 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.1297, allocations: 27.98 kB / 474.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.948e-05/0.1298, allocations: 64.27 kB / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.13, allocations: 100.1 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.13, allocations: 4 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002532/0.1302, allocations: 137.3 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1303, allocations: 4 kB / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1303, allocations: 0 / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1303, allocations: 7.938 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.1304, allocations: 23.98 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1304, allocations: 4 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.1305, allocations: 7.938 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1305, allocations: 7.938 kB / 475.2 MB, free: 7.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 8.982e-05/0.1306, allocations: 130 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1306, allocations: 15.81 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.1307, allocations: 17.41 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1307, allocations: 3.938 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1307, allocations: 4 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1307, allocations: 3.984 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1308, allocations: 209.6 kB / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1308, allocations: 0 / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.1309, allocations: 8.094 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1309, allocations: 3.938 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1309, allocations: 8 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.131, allocations: 3.938 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.131, allocations: 3.938 kB / 475.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1313, allocations: 180.8 kB / 475.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1314, allocations: 92.89 kB / 475.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1314, allocations: 4 kB / 475.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.1315, allocations: 19.98 kB / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.1315, allocations: 7.938 kB / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1315, allocations: 7.984 kB / 475.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1316, allocations: 133.2 kB / 476 MB, free: 7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1316, allocations: 0 / 476 MB, free: 7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.1319, allocations: 27.98 kB / 476 MB, free: 6.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001267/0.1331, allocations: 1.016 MB / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1333, allocations: 83.83 kB / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1334, allocations: 0 / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.1335, allocations: 35.97 kB / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1337, allocations: 48.14 kB / 477.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.1356, allocations: 1.762 MB / 479 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1359, allocations: 0.72 MB / 479.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.372e-05/0.136, allocations: 17.42 kB / 479.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.1361, allocations: 39.42 kB / 479.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1361, allocations: 4 kB / 479.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.1491, allocations: 3.479 MB / 483.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.1493, allocations: 237.9 kB / 483.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2, allocations: 0 / 483.5 MB, free: 15.62 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches