Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.008024/0.008025, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001994/0.001994, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.321/1.321, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2965/0.2965, allocations: 43.49 MB / 313.5 MB, free: 8.547 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.001377/0.001377, allocations: 67.91 kB / 382.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08776, allocations: 57.79 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002791/0.09058, allocations: 1.749 MB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.09174, allocations: 0.7962 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.09183, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.09212, allocations: 59.86 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.09231, allocations: 51.75 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.09255, allocations: 79.89 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.09271, allocations: 91.7 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.0928, allocations: 24.12 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.09288, allocations: 39.84 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.09296, allocations: 35.8 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.09298, allocations: 0 / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.09308, allocations: 43.97 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.09314, allocations: 31.84 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.0932, allocations: 39.69 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.09337, allocations: 127.8 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09339, allocations: 0 / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.09339, allocations: 0 / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.0934, allocations: 0 / 443.1 MB, free: 11.54 MB / 382.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.0004636/0.09387, allocations: 442.7 kB / 443.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.09391, allocations: 8.031 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.09395, allocations: 34.75 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.09399, allocations: 8.844 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.09419, allocations: 227.7 kB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.09421, allocations: 384 / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.09423, allocations: 11.84 kB / 443.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.09437, allocations: 53.67 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.09439, allocations: 3.938 kB / 443.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.0944, allocations: 4 kB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.09441, allocations: 0 / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.09449, allocations: 19.98 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.09481, allocations: 292.9 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.09498, allocations: 62.61 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.09504, allocations: 20.86 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.09506, allocations: 4 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.09524, allocations: 63.39 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.09525, allocations: 0 / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005043/0.09576, allocations: 185 kB / 444.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.0958, allocations: 51.41 kB / 444.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.09601, allocations: 267.7 kB / 444.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.09604, allocations: 25.7 kB / 444.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.0961, allocations: 123.9 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.09613, allocations: 23.73 kB / 445 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.09618, allocations: 21.72 kB / 445 MB, free: 9.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.09628, allocations: 330.8 kB / 445.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.09634, allocations: 20 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.09641, allocations: 37.7 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.09652, allocations: 61.77 kB / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.09653, allocations: 0 / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.09671, allocations: 105.4 kB / 445.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.09673, allocations: 8 kB / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.09674, allocations: 384 / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.09676, allocations: 3.984 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.09685, allocations: 19.94 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.09686, allocations: 4.031 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.09691, allocations: 7.938 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.09693, allocations: 4 kB / 445.6 MB, free: 8.789 MB / 382.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 9.095e-05/0.09702, allocations: 133.8 kB / 445.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.09705, allocations: 19.8 kB / 445.7 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.0971, allocations: 13.41 kB / 445.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.09711, allocations: 4 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.09711, allocations: 0 / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.09712, allocations: 3.938 kB / 445.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/0.09752, allocations: 415.2 kB / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.09754, allocations: 3.984 kB / 446.2 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.09757, allocations: 8 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.09758, allocations: 3.938 kB / 446.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.0976, allocations: 7.984 kB / 446.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.09761, allocations: 0 / 446.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09761, allocations: 0 / 446.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.09783, allocations: 204.3 kB / 446.4 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.09787, allocations: 88.92 kB / 446.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.09791, allocations: 11.94 kB / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.09798, allocations: 3.984 kB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.09802, allocations: 4 kB / 446.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.09804, allocations: 4 kB / 446.5 MB, free: 7.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.09819, allocations: 211 kB / 446.7 MB, free: 7.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0982, allocations: 192 / 446.7 MB, free: 7.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.09845, allocations: 20 kB / 446.7 MB, free: 7.543 MB / 382.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.001321/0.09978, allocations: 1.114 MB / 447.8 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.09996, allocations: 59.91 kB / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09997, allocations: 0 / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.767e-05/0.1, allocations: 27.98 kB / 447.9 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1004, allocations: 28.11 kB / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1021, allocations: 1.831 MB / 449.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1024, allocations: 0.7199 MB / 450.5 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.1024, allocations: 16.88 kB / 450.5 MB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1025, allocations: 43.42 kB / 450.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1025, allocations: 0 / 450.6 MB, free: 3.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.1159, allocations: 3.448 MB / 454 MB, free: 124 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1559/0.2719, allocations: 230.4 kB / 454.2 MB, free: 51.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.06, allocations: 0 / 454.2 MB, free: 51.34 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches