Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001264/0.001264, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001519/0.001519, allocations: 192 kB / 18.56 MB, free: 4.434 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.439/1.439, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2135/0.2135, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 65.19 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1251, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004341/0.1295, allocations: 1.701 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1312, allocations: 0.873 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.1313, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1317, allocations: 91.67 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.1321, allocations: 67.73 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.1325, allocations: 111.6 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.1328, allocations: 111.7 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1329, allocations: 8.234 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1331, allocations: 51.77 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1332, allocations: 59.83 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1333, allocations: 4 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1334, allocations: 39.97 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.1335, allocations: 19.92 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.1336, allocations: 39.62 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1338, allocations: 119.9 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1338, allocations: 7.938 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1338, allocations: 0 / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1338, allocations: 0 / 472.7 MB, free: 10.95 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.0006095/0.1344, allocations: 414.9 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1345, allocations: 8.031 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.1345, allocations: 38.75 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1346, allocations: 12.83 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1349, allocations: 212 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.135, allocations: 4.375 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.135, allocations: 11.88 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1352, allocations: 53.67 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1352, allocations: 0 / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1352, allocations: 7.984 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1352, allocations: 0 / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.1353, allocations: 19.98 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1357, allocations: 284.9 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1359, allocations: 58.61 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.1359, allocations: 28.84 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.136, allocations: 0 / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.1362, allocations: 63.39 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.925e-06/0.1362, allocations: 0 / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005855/0.1368, allocations: 193 kB / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1368, allocations: 51.41 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.137, allocations: 219.4 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1371, allocations: 33.69 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.1371, allocations: 100.1 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1372, allocations: 27.64 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1372, allocations: 21.72 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1373, allocations: 322.8 kB / 474.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.1374, allocations: 23.92 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.1375, allocations: 41.7 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1376, allocations: 57.7 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1376, allocations: 0 / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1378, allocations: 97.53 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1378, allocations: 4.188 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1378, allocations: 0 / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1379, allocations: 3.938 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.1379, allocations: 19.98 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.138, allocations: 4.031 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.138, allocations: 11.94 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.138, allocations: 384 / 475.1 MB, free: 8.297 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.0001182/0.1382, allocations: 129.8 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1382, allocations: 11.81 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.1383, allocations: 25.39 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1383, allocations: 0 / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.1383, allocations: 4 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1383, allocations: 3.938 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.1387, allocations: 395.3 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1388, allocations: 4 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.1388, allocations: 11.98 kB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1388, allocations: 3.938 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1388, allocations: 0 / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1388, allocations: 0 / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1388, allocations: 4 kB / 475.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1391, allocations: 212.2 kB / 475.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.1391, allocations: 85.02 kB / 475.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.1392, allocations: 3.938 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.1393, allocations: 7.922 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1393, allocations: 8 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1393, allocations: 4 kB / 476 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1395, allocations: 168.2 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1395, allocations: 0 / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1397, allocations: 28 kB / 476.1 MB, free: 7.105 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.001509/0.1413, allocations: 1.096 MB / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1415, allocations: 59.91 kB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1415, allocations: 0 / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.1416, allocations: 31.98 kB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1419, allocations: 24.11 kB / 477.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1441, allocations: 1.691 MB / 479 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1444, allocations: 0.708 MB / 479.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.321e-05/0.1445, allocations: 20.86 kB / 479.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.1446, allocations: 39.36 kB / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1446, allocations: 4 kB / 479.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1642, allocations: 3.395 MB / 483.2 MB, free: 176 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.559, allocations: 10.66 kB / 483.2 MB, free: 168 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches