Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.0007219/0.0007218, allocations: 95.34 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.0007908/0.0007908, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.279/1.279, allocations: 223.3 MB / 242.3 MB, free: 216 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.2022/0.2022, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 12.59 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001986/0.1202, allocations: 1.386 MB / 473.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1215, allocations: 0.8265 MB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.1216, allocations: 0 / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.1219, allocations: 47.86 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1221, allocations: 55.81 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1224, allocations: 91.77 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1225, allocations: 91.7 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.1226, allocations: 7.984 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.1227, allocations: 39.83 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.1228, allocations: 35.73 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.1228, allocations: 4 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.338e-05/0.1229, allocations: 31.98 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.1229, allocations: 27.91 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.123, allocations: 57.39 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.1232, allocations: 111.9 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1232, allocations: 0 / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1232, allocations: 0 / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1232, allocations: 0 / 475.2 MB, free: 10.43 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.00049/0.1237, allocations: 426.8 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1238, allocations: 8.031 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1238, allocations: 34.75 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1238, allocations: 12.84 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1241, allocations: 212 kB / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1241, allocations: 384 / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.1241, allocations: 7.938 kB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1242, allocations: 49.67 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1242, allocations: 0 / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1243, allocations: 4 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1243, allocations: 0 / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.1243, allocations: 19.92 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1245, allocations: 189.6 kB / 476.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1247, allocations: 58.55 kB / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.1247, allocations: 16.86 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1248, allocations: 7.984 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.1249, allocations: 63.39 kB / 476.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/0.125, allocations: 0 / 476.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002521/0.1252, allocations: 93.52 kB / 476.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1253, allocations: 55.41 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1255, allocations: 262.9 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1255, allocations: 33.7 kB / 476.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.1256, allocations: 116.1 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1256, allocations: 7.812 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1256, allocations: 17.72 kB / 476.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.1257, allocations: 322.8 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.1258, allocations: 15.98 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.1259, allocations: 33.64 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.126, allocations: 49.66 kB / 477.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.126, allocations: 3.938 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001524/0.1261, allocations: 85.67 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1262, allocations: 10.5 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1262, allocations: 4.062 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1262, allocations: 0 / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.1263, allocations: 8 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1263, allocations: 4 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.1263, allocations: 11.95 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1263, allocations: 4 kB / 477.4 MB, free: 7.98 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 9.618e-05/0.1264, allocations: 140.9 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1265, allocations: 11.81 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.1265, allocations: 17 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1265, allocations: 0 / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1265, allocations: 3.984 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1265, allocations: 3.984 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.1267, allocations: 193.6 kB / 477.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1267, allocations: 7.984 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.1267, allocations: 3.938 kB / 477.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1267, allocations: 4 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1267, allocations: 4 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1267, allocations: 0 / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1268, allocations: 0 / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1269, allocations: 116.9 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.127, allocations: 89.02 kB / 478 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.127, allocations: 4 kB / 478 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.1271, allocations: 3.984 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.1271, allocations: 4 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1271, allocations: 0 / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1273, allocations: 204.2 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 0 / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1275, allocations: 23.91 kB / 478.2 MB, free: 7.066 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.001187/0.1287, allocations: 0.9621 MB / 479.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1288, allocations: 35.92 kB / 479.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1289, allocations: 4 kB / 479.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.1289, allocations: 15.98 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.1292, allocations: 27.98 kB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1308, allocations: 1.665 MB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.131, allocations: 0.716 MB / 481.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.1311, allocations: 16.48 kB / 481.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.1312, allocations: 39.42 kB / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1312, allocations: 0 / 481.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01266/0.1438, allocations: 2.974 MB / 484.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.144, allocations: 238.3 kB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.84, allocations: 0 / 484.9 MB, free: 0.4922 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches