Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",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.0009261/0.0009266, allocations: 98.83 kB / 17.35 MB, free: 6.367 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.001159/0.001159, allocations: 172.3 kB / 18.25 MB, free: 5.527 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.352/1.352, allocations: 223.3 MB / 242.3 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.185/0.185, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004978, allocations: 12.78 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002083/0.1199, allocations: 1.421 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1214, allocations: 0.846 MB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.1215, allocations: 0 / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1218, allocations: 35.89 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.122, allocations: 43.78 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1223, allocations: 91.81 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1224, allocations: 95.69 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.1225, allocations: 12.22 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.1226, allocations: 39.8 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.1227, allocations: 31.78 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1227, allocations: 0 / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1228, allocations: 39.98 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.1229, allocations: 19.92 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.123, allocations: 65.42 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1232, allocations: 107.9 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1232, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1232, allocations: 0 / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1232, allocations: 4 kB / 475.2 MB, free: 10.37 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.0005189/0.1237, allocations: 403 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1238, allocations: 8.031 kB / 475.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.1238, allocations: 30.75 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.1238, allocations: 16.75 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1241, allocations: 200.1 kB / 475.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1241, allocations: 8.375 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1241, allocations: 3.938 kB / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1243, allocations: 57.67 kB / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1243, allocations: 0 / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1243, allocations: 0 / 475.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1243, allocations: 4 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.1244, allocations: 19.92 kB / 475.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.1248, allocations: 284.9 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1249, allocations: 66.67 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.125, allocations: 20.86 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.125, allocations: 3.984 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1252, allocations: 71.27 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1252, allocations: 0 / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005296/0.1258, allocations: 169.2 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1258, allocations: 59.41 kB / 476.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.126, allocations: 190.1 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1261, allocations: 25.7 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.1261, allocations: 112.1 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.1262, allocations: 15.72 kB / 476.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.1262, allocations: 17.7 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1264, allocations: 322.8 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.1265, allocations: 20 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.1265, allocations: 37.7 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1267, allocations: 69.7 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1267, allocations: 0 / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1269, allocations: 97.48 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1269, allocations: 7.938 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1269, allocations: 4 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.127, allocations: 8.016 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.127, allocations: 12 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1271, allocations: 0 / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1271, allocations: 12.12 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1271, allocations: 4 kB / 477.5 MB, free: 7.789 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.0001022/0.1272, allocations: 125.8 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.1273, allocations: 7.906 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.1273, allocations: 20.7 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1273, allocations: 0 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1273, allocations: 4 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1273, allocations: 3.938 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.1278, allocations: 395.3 kB / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1278, allocations: 0 / 478.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.1278, allocations: 11.94 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1278, allocations: 3.938 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1278, allocations: 7.984 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1279, allocations: 4 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1279, allocations: 4.031 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.1281, allocations: 196.2 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1281, allocations: 92.95 kB / 478.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1282, allocations: 4.312 kB / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.1282, allocations: 7.984 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.1283, allocations: 12 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1283, allocations: 4 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1284, allocations: 151.1 kB / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1284, allocations: 0 / 478.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1287, allocations: 24 kB / 478.6 MB, free: 6.621 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.001461/0.1302, allocations: 1.098 MB / 479.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.1303, allocations: 59.91 kB / 479.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1303, allocations: 8 kB / 479.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.785e-05/0.1304, allocations: 31.92 kB / 479.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1308, allocations: 27.97 kB / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1325, allocations: 1.638 MB / 481.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1328, allocations: 0.7043 MB / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.1329, allocations: 9.203 kB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.1329, allocations: 39.42 kB / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1329, allocations: 0 / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.146, allocations: 2.947 MB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.1463, allocations: 238.8 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.883, allocations: 3.938 kB / 485.4 MB, free: 15.96 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches