Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3258, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002951/0.3288, allocations: 1.911 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3306, allocations: 1.128 MB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3308, allocations: 2.75 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.3313, allocations: 221.7 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.3318, allocations: 222.8 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.3321, allocations: 111.2 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.3324, allocations: 259.9 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3326, allocations: 32.53 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.3328, allocations: 126 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.3329, allocations: 156.8 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.333, allocations: 9.031 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3331, allocations: 58.36 kB / 0.5347 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.3332, allocations: 71.06 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.963e-05/0.3333, allocations: 86.55 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.3336, allocations: 246.5 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3336, allocations: 0 / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.3336, allocations: 0 / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3336, allocations: 5.312 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007204/0.3343, allocations: 0.5726 MB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3344, allocations: 10.06 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.3344, allocations: 45.02 kB / 0.5357 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.3345, allocations: 29.22 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3348, allocations: 291.6 kB / 0.536 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3349, allocations: 3.688 kB / 0.5361 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.3349, allocations: 13.22 kB / 0.5361 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.3352, allocations: 114.1 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3352, allocations: 1.094 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3352, allocations: 5 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.3352, allocations: 1.125 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.3354, allocations: 53.31 kB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.3359, allocations: 482.2 kB / 0.5367 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3363, allocations: 122.9 kB / 0.5368 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3364, allocations: 45.2 kB / 0.5368 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3365, allocations: 6.438 kB / 0.5369 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.3367, allocations: 120.5 kB / 0.537 GB, free: 8.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3367, allocations: 0 / 0.537 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001276/0.338, allocations: 0.4989 MB / 0.5375 GB, free: 8.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3381, allocations: 80.92 kB / 0.5375 GB, free: 8.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.3385, allocations: 447.7 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3385, allocations: 39.84 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/0.3386, allocations: 156.4 kB / 0.5381 GB, free: 7.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.3387, allocations: 69.66 kB / 0.5382 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.3388, allocations: 45.23 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3389, allocations: 349 kB / 0.5386 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.339, allocations: 57.44 kB / 0.5386 GB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3392, allocations: 95.25 kB / 0.5387 GB, free: 7.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.3394, allocations: 165.3 kB / 0.5389 GB, free: 6.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3395, allocations: 0 / 0.5389 GB, free: 6.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004101/0.3399, allocations: 235.3 kB / 0.5391 GB, free: 6.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3399, allocations: 5.281 kB / 0.5391 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3399, allocations: 5.062 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3399, allocations: 2.219 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3401, allocations: 46.19 kB / 0.5392 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3401, allocations: 6.312 kB / 0.5392 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.3402, allocations: 11.89 kB / 0.5392 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3402, allocations: 6.25 kB / 0.5392 GB, free: 6.785 MB / 398.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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001616/0.3404, allocations: 174.1 kB / 0.5394 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.3404, allocations: 34.69 kB / 0.5394 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.3405, allocations: 39.91 kB / 0.5394 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3405, allocations: 6.703 kB / 0.5394 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3405, allocations: 0 / 0.5394 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3405, allocations: 9.438 kB / 0.5395 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.3414, allocations: 0.7308 MB / 0.5402 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3414, allocations: 1.344 kB / 0.5402 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.3415, allocations: 32.27 kB / 0.5402 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3415, allocations: 2.5 kB / 0.5402 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3415, allocations: 11.66 kB / 0.5402 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3415, allocations: 2.656 kB / 0.5402 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3415, allocations: 5.812 kB / 0.5402 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.342, allocations: 427.6 kB / 0.5406 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.3421, allocations: 100.8 kB / 0.5407 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.3421, allocations: 8.156 kB / 0.5407 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3423, allocations: 12.08 kB / 0.5407 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.3423, allocations: 25.52 kB / 0.5408 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3424, allocations: 12.11 kB / 0.5408 GB, free: 5.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.3427, allocations: 330.8 kB / 0.5411 GB, free: 5.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3427, allocations: 4 kB / 0.5411 GB, free: 5.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.3431, allocations: 48.78 kB / 0.5411 GB, free: 5.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001761/0.3449, allocations: 1.365 MB / 0.5425 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.3452, allocations: 158.4 kB / 0.5426 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3452, allocations: 1.188 kB / 0.5426 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3454, allocations: 83.56 kB / 0.5427 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.3459, allocations: 66.83 kB / 0.5428 GB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.3497, allocations: 2.883 MB / 0.5456 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3501, allocations: 0.7759 MB / 0.5463 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.3502, allocations: 45.86 kB / 0.5464 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3503, allocations: 95.41 kB / 0.5465 GB, free: 1.086 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3503, allocations: 384 / 0.5465 GB, free: 1.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3746, allocations: 6.417 MB / 0.5527 GB, free: 10.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.317, allocations: 16.27 kB / 0.5528 GB, free: 10.76 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches