Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.0007583/0.0007584, allocations: 94.86 kB / 17.35 MB, free: 6.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.0009533/0.0009535, allocations: 169.2 kB / 18.25 MB, free: 5.508 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.292/1.292, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.1974/0.1974, allocations: 44.25 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003129, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002261/0.1211, allocations: 1.378 MB / 473.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1225, allocations: 0.8264 MB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.1226, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.123, allocations: 63.86 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1232, allocations: 59.8 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1235, allocations: 94.16 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1238, allocations: 91.69 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.335e-05/0.1238, allocations: 4 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1239, allocations: 39.83 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1241, allocations: 43.78 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1241, allocations: 8 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1242, allocations: 27.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.1243, allocations: 15.98 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.1243, allocations: 61.44 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1245, allocations: 95.91 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1246, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1246, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1246, allocations: 0 / 475.2 MB, free: 10.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005457/0.1251, allocations: 387.2 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1252, allocations: 12.03 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1252, allocations: 38.69 kB / 475.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.1253, allocations: 8.844 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.1255, allocations: 204.1 kB / 475.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1255, allocations: 4.375 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1256, allocations: 3.938 kB / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1257, allocations: 45.67 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1257, allocations: 0 / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1257, allocations: 4 kB / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1257, allocations: 0 / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.052e-05/0.1258, allocations: 19.98 kB / 475.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.126, allocations: 181.6 kB / 476.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1262, allocations: 54.5 kB / 476.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.1263, allocations: 20.84 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1263, allocations: 3.938 kB / 476.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.1265, allocations: 79.38 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1265, allocations: 0 / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00029/0.1268, allocations: 93.52 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1269, allocations: 51.41 kB / 476.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.127, allocations: 194.1 kB / 476.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1271, allocations: 25.7 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.1271, allocations: 100.1 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.1272, allocations: 19.81 kB / 476.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1272, allocations: 13.66 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1273, allocations: 326.8 kB / 477 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.1274, allocations: 12 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.1275, allocations: 29.7 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.629e-05/0.1276, allocations: 49.64 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1276, allocations: 7.938 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001605/0.1277, allocations: 73.59 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1278, allocations: 4 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1278, allocations: 7.938 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1278, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.1279, allocations: 11.98 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1279, allocations: 0 / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.128, allocations: 4 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.128, allocations: 4 kB / 477.2 MB, free: 8.098 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 (7): * Single equations (assignments): 7 * 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.0001114/0.1281, allocations: 136.5 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.1281, allocations: 11.81 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.1282, allocations: 12.3 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1282, allocations: 0 / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1282, allocations: 0 / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.1282, allocations: 3.984 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1284, allocations: 189.5 kB / 477.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1284, allocations: 0 / 477.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.1284, allocations: 4 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1284, allocations: 4 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1284, allocations: 0 / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1284, allocations: 7.938 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1284, allocations: 0 / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1286, allocations: 117.2 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.1287, allocations: 89 kB / 477.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1287, allocations: 4 kB / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.1288, allocations: 0 / 477.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.1288, allocations: 8 kB / 477.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1288, allocations: 3.984 kB / 477.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1289, allocations: 139.2 kB / 477.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1289, allocations: 0 / 477.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1292, allocations: 20 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001305/0.1305, allocations: 0.9517 MB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1306, allocations: 39.97 kB / 478.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1306, allocations: 0 / 478.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.1307, allocations: 23.94 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.131, allocations: 30.12 kB / 479 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1326, allocations: 1.499 MB / 480.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1328, allocations: 0.7004 MB / 481.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.918e-05/0.1329, allocations: 16.53 kB / 481.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.133, allocations: 31.38 kB / 481.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.133, allocations: 0 / 481.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.1464, allocations: 2.632 MB / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.1467, allocations: 246.4 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/1.983, allocations: 0 / 484.1 MB, free: 1.215 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches