Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.001612/0.001612, allocations: 106.8 kB / 17.33 MB, free: 5.996 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.001896/0.001896, 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.473/1.473, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2608/0.2608, allocations: 44.18 MB / 336.3 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 72.36 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1278, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003343/0.1312, allocations: 1.749 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1326, allocations: 0.8614 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.1327, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1331, allocations: 39.83 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1334, allocations: 47.83 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1337, allocations: 91.83 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1339, allocations: 95.69 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.134, allocations: 12.23 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.1341, allocations: 47.72 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.1342, allocations: 31.84 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1342, allocations: 8 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1343, allocations: 39.98 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.1343, allocations: 19.92 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.1344, allocations: 31.75 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1346, allocations: 115.8 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1346, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1346, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1347, allocations: 0 / 472 MB, free: 11.41 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.0005592/0.1352, allocations: 411 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1353, allocations: 12.03 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.1353, allocations: 30.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.1354, allocations: 16.75 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1356, allocations: 212.1 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1356, allocations: 384 / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1357, allocations: 7.938 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1358, allocations: 57.61 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1359, allocations: 0 / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1359, allocations: 3.938 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1359, allocations: 4 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.136, allocations: 19.98 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1363, allocations: 280.9 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1365, allocations: 62.61 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.1366, allocations: 24.78 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1366, allocations: 11.98 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.1368, allocations: 63.39 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1368, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005477/0.1374, allocations: 185.2 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1374, allocations: 55.41 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1376, allocations: 182.1 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1377, allocations: 29.7 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.1377, allocations: 108.1 kB / 473.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1378, allocations: 23.7 kB / 473.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1378, allocations: 21.72 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1379, allocations: 326.8 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.138, allocations: 19.98 kB / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.1381, allocations: 37.64 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1382, allocations: 61.72 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1382, allocations: 0 / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1384, allocations: 101.4 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1384, allocations: 4 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1384, allocations: 4 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1384, allocations: 0 / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.1385, allocations: 15.98 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1385, allocations: 0 / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.1386, allocations: 16.34 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1386, allocations: 4 kB / 474.4 MB, free: 8.797 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 9.131e-05/0.1387, allocations: 128.7 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1387, allocations: 11.91 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1388, allocations: 16.72 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1388, allocations: 4 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1388, allocations: 0 / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1388, allocations: 3.938 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.1392, allocations: 387.3 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1393, allocations: 8.172 kB / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1393, allocations: 4 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1393, allocations: 11.88 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1393, allocations: 4 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1393, allocations: 0 / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1393, allocations: 7.938 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1396, allocations: 208.2 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.1396, allocations: 89 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.1396, allocations: 7.938 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.1397, allocations: 0 / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1398, allocations: 7.984 kB / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1398, allocations: 4 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1399, allocations: 143.2 kB / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1399, allocations: 0 / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1402, allocations: 31.98 kB / 475.4 MB, free: 7.633 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.001425/0.1416, allocations: 1.091 MB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1418, allocations: 59.97 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1418, allocations: 3.938 kB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.1419, allocations: 27.98 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1422, allocations: 23.98 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1439, allocations: 1.661 MB / 478.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1441, allocations: 0.7002 MB / 479 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.1442, allocations: 21.17 kB / 479 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.1443, allocations: 35.42 kB / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1443, allocations: 0 / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.1581, allocations: 3.214 MB / 482.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.1585, allocations: 232.7 kB / 482.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.05, allocations: 0 / 482.5 MB, free: 0.6914 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches