Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.001704/0.001704, allocations: 104.1 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.002232/0.002232, allocations: 190 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.527/1.527, allocations: 222.9 MB / 241.8 MB, free: 15.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.237/0.237, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 62.62 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002964/0.1234, allocations: 1.76 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1247, allocations: 0.8615 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.059e-05/0.1248, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.125, allocations: 39.89 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1252, allocations: 47.77 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1255, allocations: 95.58 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1256, allocations: 95.64 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.1257, allocations: 20.19 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.1258, allocations: 39.8 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.1259, allocations: 27.8 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1259, allocations: 0 / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.126, allocations: 43.97 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1261, allocations: 19.92 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.1261, allocations: 35.73 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1263, allocations: 111.9 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1263, allocations: 0 / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1263, allocations: 4 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1263, allocations: 4 kB / 471.8 MB, free: 11.53 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.0005049/0.1268, allocations: 426.8 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1269, allocations: 8.031 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.1269, allocations: 34.75 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1269, allocations: 8.844 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1272, allocations: 216.8 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.1272, allocations: 384 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1272, allocations: 7.938 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1274, allocations: 57.67 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1274, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1274, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.1274, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.1275, allocations: 23.92 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.1278, allocations: 288.8 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.128, allocations: 58.67 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.1281, allocations: 16.86 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1281, allocations: 4 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.1283, allocations: 75.31 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1283, allocations: 0 / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000508/0.1288, allocations: 173.2 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1289, allocations: 59.41 kB / 473.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.129, allocations: 195.3 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1291, allocations: 29.7 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.1291, allocations: 108.1 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.1291, allocations: 19.7 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.1292, allocations: 21.72 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1293, allocations: 326.8 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.1294, allocations: 23.92 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.1294, allocations: 41.64 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1296, allocations: 69.7 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1296, allocations: 0 / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1298, allocations: 97.44 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1298, allocations: 8 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1298, allocations: 0 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1298, allocations: 4.031 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.1299, allocations: 19.98 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1299, allocations: 0 / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.13, allocations: 7.938 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.13, allocations: 4 kB / 474.2 MB, free: 8.891 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.0001051/0.1301, allocations: 129.8 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1301, allocations: 11.91 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1302, allocations: 13.41 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1302, allocations: 0 / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1302, allocations: 7.984 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1302, allocations: 3.938 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.1306, allocations: 391.3 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1306, allocations: 0 / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.1307, allocations: 11.94 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1307, allocations: 7.938 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1307, allocations: 3.984 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1307, allocations: 384 / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1307, allocations: 8.016 kB / 474.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.131, allocations: 204.2 kB / 475 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.131, allocations: 85.02 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.131, allocations: 11.94 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.1311, allocations: 0 / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.1312, allocations: 11.98 kB / 475.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1312, allocations: 11.94 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1313, allocations: 152.9 kB / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1316, allocations: 20 kB / 475.3 MB, free: 7.723 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.001426/0.133, allocations: 1.099 MB / 476.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1332, allocations: 51.92 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.1332, allocations: 4 kB / 476.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.1333, allocations: 35.98 kB / 476.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1337, allocations: 27.97 kB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.1356, allocations: 1.676 MB / 478.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.136, allocations: 0.7043 MB / 478.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.136, allocations: 13.19 kB / 478.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.1361, allocations: 39.42 kB / 478.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1361, allocations: 0 / 478.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1498, allocations: 3.184 MB / 482.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.1501, allocations: 237.3 kB / 482.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.979, allocations: 3.938 kB / 482.3 MB, free: 0.7773 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches