Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.001396/0.001396, allocations: 113.2 kB / 17.33 MB, free: 5.988 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.001377/0.001377, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.47/1.47, allocations: 222.9 MB / 241.9 MB, free: 13.74 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.2472/0.2472, allocations: 44.17 MB / 336.2 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 72.11 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003055/0.1211, allocations: 1.947 MB / 470.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1226, allocations: 0.9783 MB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.1227, allocations: 0 / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.1232, allocations: 251.4 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1235, allocations: 167.6 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.1239, allocations: 159.4 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.1242, allocations: 255.3 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1243, allocations: 25.69 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.1245, allocations: 135.5 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1247, allocations: 191.4 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1247, allocations: 8 kB / 472.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1248, allocations: 63.95 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.1249, allocations: 63.77 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.125, allocations: 99.22 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1253, allocations: 243.4 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1253, allocations: 0 / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1253, allocations: 0 / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1253, allocations: 0 / 473.4 MB, free: 10.05 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006886/0.126, allocations: 0.5642 MB / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1261, allocations: 8.031 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.1261, allocations: 46.67 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.1262, allocations: 32.56 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1265, allocations: 280 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1265, allocations: 8.375 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1265, allocations: 7.938 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.1268, allocations: 126 kB / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1268, allocations: 0 / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1268, allocations: 8 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1268, allocations: 3.984 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1269, allocations: 39.97 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.1275, allocations: 480.6 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.1278, allocations: 129.2 kB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.375e-05/0.1279, allocations: 41.77 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.128, allocations: 8.141 kB / 475.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.1283, allocations: 117.1 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1283, allocations: 0 / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001259/0.1295, allocations: 0.5005 MB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1296, allocations: 85.05 kB / 475.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.13, allocations: 481.7 kB / 476.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1301, allocations: 29.7 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1302, allocations: 164.4 kB / 476.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.1302, allocations: 71.09 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.1303, allocations: 41.7 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1304, allocations: 350.8 kB / 476.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1305, allocations: 51.98 kB / 477 MB, free: 6.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1307, allocations: 99.33 kB / 477.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.1309, allocations: 151.5 kB / 477.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.131, allocations: 4 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003654/0.1313, allocations: 245 kB / 477.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1314, allocations: 4 kB / 477.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1314, allocations: 4 kB / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1314, allocations: 0 / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1315, allocations: 39.98 kB / 477.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1315, allocations: 3.938 kB / 477.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.1316, allocations: 15.89 kB / 477.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1316, allocations: 8 kB / 477.6 MB, free: 5.574 MB / 350.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001567/0.1318, allocations: 182.3 kB / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1319, allocations: 39.5 kB / 477.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.1319, allocations: 47.02 kB / 477.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1319, allocations: 4 kB / 477.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.132, allocations: 0 / 477.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.132, allocations: 0 / 477.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.1328, allocations: 0.7428 MB / 478.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1328, allocations: 0 / 478.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.1329, allocations: 31.92 kB / 478.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1329, allocations: 4 kB / 478.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.133, allocations: 8 kB / 478.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.133, allocations: 4 kB / 478.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.133, allocations: 3.938 kB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.1334, allocations: 427.5 kB / 479 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1335, allocations: 100.7 kB / 479.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1335, allocations: 12 kB / 479.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1337, allocations: 11.98 kB / 479.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1337, allocations: 19.92 kB / 479.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1338, allocations: 11.98 kB / 479.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.1341, allocations: 355.1 kB / 479.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1341, allocations: 0 / 479.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.1344, allocations: 55.98 kB / 479.6 MB, free: 3.418 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001721/0.1362, allocations: 1.37 MB / 481 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1365, allocations: 167.8 kB / 481.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1365, allocations: 0 / 481.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1367, allocations: 79.84 kB / 481.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.1372, allocations: 70.78 kB / 481.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.1405, allocations: 3.025 MB / 484.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1408, allocations: 0.7792 MB / 485.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.141, allocations: 41.91 kB / 485.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1411, allocations: 99.33 kB / 485.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1411, allocations: 4 kB / 485.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.1596, allocations: 6.284 MB / 491.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.1598, allocations: 239.2 kB / 491.7 MB, free: 7.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.213, allocations: 0 / 491.7 MB, free: 7.402 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches