Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.001347/0.001347, allocations: 107 kB / 16.27 MB, free: 6.312 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.001104/0.001104, allocations: 188.5 kB / 17.19 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1881/0.1881, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 72.64 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07234/0.07372, allocations: 57.8 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002163/0.07591, allocations: 1.686 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.07672, allocations: 0.8 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.07679, allocations: 8 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.07704, allocations: 39.77 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.0772, allocations: 55.75 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.07739, allocations: 79.77 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.0775, allocations: 99.69 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.451e-05/0.07759, allocations: 16.17 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.07765, allocations: 43.78 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.07771, allocations: 31.8 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.07773, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.0778, allocations: 35.98 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.07785, allocations: 23.91 kB / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.07789, allocations: 39.73 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.07803, allocations: 107.7 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.07804, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07804, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.07805, allocations: 4 kB / 443.7 MB, free: 3.711 MB / 318.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.0003388/0.0784, allocations: 410.9 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.07843, allocations: 15.89 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.07846, allocations: 42.61 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.07849, allocations: 12.75 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.07863, allocations: 210.2 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.07865, allocations: 8.359 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.07867, allocations: 3.938 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.07878, allocations: 57.67 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.0788, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.07881, allocations: 0 / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.07882, allocations: 4 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.755e-05/0.07888, allocations: 19.92 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.07911, allocations: 292.9 kB / 444.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.07925, allocations: 62.66 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.0793, allocations: 16.86 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.07933, allocations: 3.938 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.07944, allocations: 71.33 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.07945, allocations: 0 / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004027/0.07986, allocations: 177.1 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.07989, allocations: 55.41 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.08001, allocations: 199.3 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.08002, allocations: 33.7 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.08006, allocations: 104 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.08008, allocations: 31.62 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.08011, allocations: 21.72 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.569e-05/0.08016, allocations: 326.8 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.08021, allocations: 15.98 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.08026, allocations: 41.7 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.08035, allocations: 57.66 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.08035, allocations: 0 / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001351/0.08049, allocations: 101.6 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.08051, allocations: 4 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.08052, allocations: 0 / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.08053, allocations: 4.031 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.08061, allocations: 23.92 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.08062, allocations: 160 / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.08066, allocations: 7.875 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.08067, allocations: 4 kB / 446.1 MB, free: 1.078 MB / 318.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 5.514e-05/0.08073, allocations: 133.8 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.08075, allocations: 11.81 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.08079, allocations: 17.39 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.0808, allocations: 4 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.08081, allocations: 4 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.08081, allocations: 3.938 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.08109, allocations: 395.3 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.0811, allocations: 0 / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.08113, allocations: 12.31 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.08114, allocations: 3.938 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.08115, allocations: 4 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.08116, allocations: 4 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.08116, allocations: 4.031 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.08131, allocations: 196.5 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.08134, allocations: 92.91 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.08136, allocations: 7.875 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.08143, allocations: 8 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.08146, allocations: 7.984 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.08148, allocations: 4 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.08159, allocations: 151.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0816, allocations: 0 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.08184, allocations: 24 kB / 447.2 MB, free: 15.9 MB / 334.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.001237/0.08308, allocations: 1.099 MB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.08324, allocations: 59.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.08325, allocations: 64 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.08333, allocations: 31.92 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.08364, allocations: 30.33 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.08509, allocations: 1.663 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.08534, allocations: 0.708 MB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.08539, allocations: 12.88 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.08546, allocations: 39.42 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.08547, allocations: 0 / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/0.2026, allocations: 3.358 MB / 454.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.453, allocations: 7.875 kB / 454.2 MB, free: 8.816 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches