Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.0008696/0.0008696, allocations: 94.64 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.0009671/0.0009671, allocations: 170.2 kB / 18.25 MB, free: 5.508 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.234/1.234, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.18/0.18, allocations: 44.25 MB / 337.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 8.812 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.08933, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.001906/0.09127, allocations: 1.645 MB / 474 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.0927, allocations: 1.014 MB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.09279, allocations: 4 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.09338, allocations: 191.5 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.09365, allocations: 135.6 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.0941, allocations: 202.2 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.09437, allocations: 255.2 kB / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.09447, allocations: 29.66 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.09461, allocations: 91.56 kB / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.09474, allocations: 103.5 kB / 476 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.09477, allocations: 4 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.09489, allocations: 43.98 kB / 476.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.09496, allocations: 55.75 kB / 476.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.09505, allocations: 97.19 kB / 476.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.0953, allocations: 231.3 kB / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09531, allocations: 0 / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09532, allocations: 0 / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.09533, allocations: 0 / 476.4 MB, free: 9.16 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006383/0.09597, allocations: 0.5118 MB / 476.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.09601, allocations: 8.031 kB / 477 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.09605, allocations: 34.75 kB / 477 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.0961, allocations: 32.58 kB / 477 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.0964, allocations: 283.6 kB / 477.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.09643, allocations: 4.375 kB / 477.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.09645, allocations: 7.938 kB / 477.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.09665, allocations: 104.2 kB / 477.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.09666, allocations: 0 / 477.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.09668, allocations: 4 kB / 477.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.09669, allocations: 0 / 477.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.09681, allocations: 43.97 kB / 477.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.09726, allocations: 373.5 kB / 477.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.09754, allocations: 125.2 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.09764, allocations: 41.7 kB / 478 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.09767, allocations: 4 kB / 478 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.09788, allocations: 109.1 kB / 478.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.795e-06/0.09789, allocations: 0 / 478.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004231/0.09832, allocations: 185.6 kB / 478.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.09838, allocations: 102.8 kB / 478.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.0987, allocations: 335 kB / 478.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.09873, allocations: 25.7 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.09882, allocations: 144.1 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.09886, allocations: 31.61 kB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.0989, allocations: 21.7 kB / 478.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.09901, allocations: 342.8 kB / 479.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.0991, allocations: 31.92 kB / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.09922, allocations: 81.06 kB / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.0994, allocations: 103.5 kB / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.09942, allocations: 0 / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002588/0.09968, allocations: 145.3 kB / 479.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.0997, allocations: 6.5 kB / 479.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.09971, allocations: 0 / 479.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.09973, allocations: 4 kB / 479.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.09984, allocations: 27.98 kB / 479.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.09985, allocations: 4 kB / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.09995, allocations: 11.94 kB / 479.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.09997, allocations: 8 kB / 479.7 MB, free: 5.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001223/0.1001, allocations: 149.8 kB / 479.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.1001, allocations: 27.7 kB / 479.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.1002, allocations: 25.73 kB / 479.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1002, allocations: 0 / 479.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1002, allocations: 8 kB / 479.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1002, allocations: 3.938 kB / 479.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1004, allocations: 253.4 kB / 480.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1004, allocations: 0 / 480.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.1005, allocations: 12.06 kB / 480.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1005, allocations: 4 kB / 480.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1005, allocations: 7.984 kB / 480.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1005, allocations: 0 / 480.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1005, allocations: 0 / 480.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1008, allocations: 185.5 kB / 480.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1009, allocations: 104.8 kB / 480.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.1009, allocations: 4 kB / 480.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.101, allocations: 7.984 kB / 480.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.101, allocations: 19.86 kB / 480.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1011, allocations: 8 kB / 480.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.1013, allocations: 245.9 kB / 480.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1013, allocations: 0 / 480.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1015, allocations: 35.98 kB / 480.8 MB, free: 4.426 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001268/0.1028, allocations: 1.028 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.1031, allocations: 87.89 kB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1031, allocations: 3.938 kB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1032, allocations: 43.98 kB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1036, allocations: 64.72 kB / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.106, allocations: 2.343 MB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1063, allocations: 0.7359 MB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.004e-05/0.1064, allocations: 38.41 kB / 485.1 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.1065, allocations: 71.41 kB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1065, allocations: 0 / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.1214, allocations: 5.043 MB / 490.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.1216, allocations: 246.3 kB / 490.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.774, allocations: 0 / 490.4 MB, free: 10.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches