Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001237/0.001237, allocations: 108.6 kB / 17.21 MB, free: 6.27 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.001453/0.001453, allocations: 194 kB / 18.12 MB, free: 5.363 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.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.59 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.2101/0.2101, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.52 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003283/0.1231, allocations: 1.76 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1247, allocations: 0.8575 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1249, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1253, allocations: 63.8 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1256, allocations: 51.81 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.126, allocations: 99.25 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1262, allocations: 91.7 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1263, allocations: 12.23 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1265, allocations: 47.72 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1266, allocations: 31.84 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1266, allocations: 4 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1267, allocations: 39.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.1268, allocations: 27.84 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.1269, allocations: 43.61 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.1272, allocations: 135.8 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1272, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1272, allocations: 4 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1272, allocations: 0 / 471.9 MB, free: 11.47 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.0007014/0.1279, allocations: 434.8 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.128, allocations: 8.031 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.128, allocations: 38.75 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.1281, allocations: 12.75 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1284, allocations: 216 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1284, allocations: 4.312 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1284, allocations: 11.94 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1286, allocations: 57.67 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1286, allocations: 7.922 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1286, allocations: 4 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1286, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.1287, allocations: 19.98 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.1291, allocations: 288.9 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1293, allocations: 62.61 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1294, allocations: 16.86 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1294, allocations: 0 / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1296, allocations: 75.36 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1297, allocations: 3.938 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006263/0.1303, allocations: 189 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1303, allocations: 51.41 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1307, allocations: 266.9 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1307, allocations: 25.7 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1308, allocations: 112.1 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1309, allocations: 27.69 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.131, allocations: 25.72 kB / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1312, allocations: 326.8 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.1312, allocations: 27.94 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.1313, allocations: 33.7 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1314, allocations: 53.7 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1314, allocations: 4 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.1316, allocations: 101.4 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1317, allocations: 11.98 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1317, allocations: 4.031 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1317, allocations: 0 / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.1318, allocations: 12 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1318, allocations: 4 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.1319, allocations: 7.875 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1319, allocations: 11.98 kB / 474.4 MB, free: 8.719 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 0.000122/0.132, allocations: 137.8 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.132, allocations: 11.81 kB / 474.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.1321, allocations: 21.78 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1321, allocations: 4 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1321, allocations: 0 / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1321, allocations: 7.922 kB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.1326, allocations: 399.5 kB / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1326, allocations: 0 / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.1327, allocations: 15.92 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1327, allocations: 3.938 kB / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1327, allocations: 8.031 kB / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1327, allocations: 4 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1327, allocations: 0 / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.133, allocations: 200.1 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.133, allocations: 92.92 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1331, allocations: 11.88 kB / 475.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.1332, allocations: 3.984 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.1332, allocations: 11.98 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1332, allocations: 4 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1334, allocations: 204.2 kB / 475.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1334, allocations: 0 / 475.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1337, allocations: 24 kB / 475.5 MB, free: 7.473 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.001563/0.1353, allocations: 1.095 MB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1355, allocations: 51.98 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1355, allocations: 8 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.789e-05/0.1356, allocations: 31.98 kB / 476.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1359, allocations: 26.14 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.138, allocations: 1.83 MB / 478.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1383, allocations: 0.7199 MB / 479.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.279e-05/0.1384, allocations: 17.19 kB / 479.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.1385, allocations: 47.41 kB / 479.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1385, allocations: 0 / 479.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.237/1.375, allocations: 3.46 MB / 482.8 MB, free: 344 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.375, allocations: 234.9 kB / 483 MB, free: 80 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/3.332, allocations: 0 / 483 MB, free: 80 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches