Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.00172/0.00172, allocations: 117.1 kB / 17.78 MB, free: 5.246 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.001346/0.001346, allocations: 184.2 kB / 18.72 MB, free: 4.32 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.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2037/0.2037, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3312, allocations: 60.82 MB / 0.5185 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002928/0.3342, allocations: 1.706 MB / 0.5202 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3362, allocations: 1.488 MB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.3363, allocations: 1.312 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.3366, allocations: 36.39 kB / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.3369, allocations: 52.39 kB / 0.5217 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.3372, allocations: 118.2 kB / 0.5218 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.3374, allocations: 109 kB / 0.5219 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3375, allocations: 15.19 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.3376, allocations: 48.17 kB / 0.522 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3378, allocations: 40.97 kB / 0.522 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3378, allocations: 8.719 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3379, allocations: 64.2 kB / 0.5221 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.338, allocations: 21.14 kB / 0.5221 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.3381, allocations: 34.55 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.3383, allocations: 126.4 kB / 0.5223 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3384, allocations: 0.6562 kB / 0.5223 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3384, allocations: 0.9688 kB / 0.5223 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3384, allocations: 0 / 0.5223 GB, free: 0.7656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005361/0.3389, allocations: 424.5 kB / 0.5227 GB, free: 356 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.339, allocations: 10.09 kB / 0.5227 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.339, allocations: 36.61 kB / 0.5227 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.3391, allocations: 9.797 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.3394, allocations: 215.6 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3394, allocations: 1.844 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3394, allocations: 3.312 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3396, allocations: 83.02 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3396, allocations: 1 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3397, allocations: 3.938 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3397, allocations: 1.094 kB / 0.523 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.3398, allocations: 25.52 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3402, allocations: 296 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3405, allocations: 77.05 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3406, allocations: 26.16 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3406, allocations: 1.594 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3408, allocations: 74.48 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3408, allocations: 0 / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006682/0.3414, allocations: 204.1 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.3415, allocations: 83.7 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3417, allocations: 154.8 kB / 0.5239 GB, free: 15.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3417, allocations: 30.89 kB / 0.524 GB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.3418, allocations: 94.94 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3418, allocations: 26.94 kB / 0.5241 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.3419, allocations: 26.94 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.342, allocations: 321.6 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.3421, allocations: 28.2 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.3422, allocations: 53.05 kB / 0.5245 GB, free: 14.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3424, allocations: 71.03 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3424, allocations: 0 / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002255/0.3426, allocations: 113.4 kB / 0.5247 GB, free: 14.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3426, allocations: 8.406 kB / 0.5247 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3426, allocations: 9.188 kB / 0.5247 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3427, allocations: 1.688 kB / 0.5247 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3428, allocations: 24.09 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3428, allocations: 2.828 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.3428, allocations: 1.984 kB / 0.5247 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3429, allocations: 3.109 kB / 0.5247 GB, free: 14.62 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001105/0.343, allocations: 123.7 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.343, allocations: 9.672 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.3431, allocations: 26.72 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3431, allocations: 1.094 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3431, allocations: 4.547 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3431, allocations: 1.672 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.3436, allocations: 413.5 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3436, allocations: 1.188 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.3437, allocations: 18.36 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3437, allocations: 1.188 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3437, allocations: 11.94 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3437, allocations: 1.188 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3438, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.344, allocations: 216.8 kB / 0.5255 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.3441, allocations: 85.28 kB / 0.5256 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3441, allocations: 7.547 kB / 0.5256 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.3442, allocations: 2.719 kB / 0.5256 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3442, allocations: 9.984 kB / 0.5256 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.3443, allocations: 5.078 kB / 0.5256 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.3444, allocations: 121.6 kB / 0.5257 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3444, allocations: 1.438 kB / 0.5257 GB, free: 13.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3447, allocations: 31.28 kB / 0.5258 GB, free: 13.72 MB / 398.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 (9): * Single equations (assignments): 7 * 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.001906/0.3466, allocations: 1.141 MB / 0.5269 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3469, allocations: 71.14 kB / 0.5269 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3469, allocations: 1.312 kB / 0.5269 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.347, allocations: 34.61 kB / 0.527 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3474, allocations: 38.08 kB / 0.527 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.3496, allocations: 1.621 MB / 0.5286 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3499, allocations: 0.7019 MB / 0.5293 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.932e-05/0.35, allocations: 25.06 kB / 0.5293 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.3501, allocations: 35.69 kB / 0.5293 GB, free: 10.74 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3502, allocations: 0 / 0.5293 GB, free: 10.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.3715, allocations: 3.707 MB / 0.533 GB, free: 9.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/8.013, allocations: 21.84 kB / 0.533 GB, free: 8.988 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches