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.001317/0.001317, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002316, allocations: 87.8 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3293, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00328/0.3326, allocations: 1.924 MB / 0.5326 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3345, allocations: 1.125 MB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.3346, allocations: 2.5 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.3351, allocations: 222.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.3356, allocations: 221.6 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3359, allocations: 115.4 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.3362, allocations: 255.9 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3363, allocations: 28.81 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.3365, allocations: 123.7 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.3367, allocations: 152.7 kB / 0.5347 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.3368, allocations: 9.625 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3369, allocations: 66.53 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.337, allocations: 65.77 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.37e-05/0.3371, allocations: 90.53 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.3374, allocations: 241.9 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3374, allocations: 5 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3374, allocations: 0 / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3375, allocations: 0 / 0.5352 GB, free: 10.05 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.0007935/0.3383, allocations: 0.57 MB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3383, allocations: 9.094 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.3384, allocations: 41.12 kB / 0.5358 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.3384, allocations: 38.55 kB / 0.5358 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.3388, allocations: 295.1 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3389, allocations: 3.688 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3389, allocations: 13.53 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.3391, allocations: 107 kB / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3392, allocations: 1.094 kB / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3392, allocations: 9.047 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3392, allocations: 9.094 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3393, allocations: 45.53 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.3399, allocations: 482.9 kB / 0.5368 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.3403, allocations: 118 kB / 0.5369 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3405, allocations: 44.84 kB / 0.5369 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3405, allocations: 10.62 kB / 0.5369 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.3407, allocations: 116.1 kB / 0.537 GB, free: 8.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3407, allocations: 0 / 0.537 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001297/0.342, allocations: 0.5013 MB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.3421, allocations: 86.48 kB / 0.5376 GB, free: 7.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.3426, allocations: 449.6 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.3426, allocations: 31.7 kB / 0.5381 GB, free: 7.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3428, allocations: 163.1 kB / 0.5382 GB, free: 7.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.3429, allocations: 73.67 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.3429, allocations: 41.61 kB / 0.5383 GB, free: 7.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3431, allocations: 348.9 kB / 0.5387 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3432, allocations: 58.22 kB / 0.5387 GB, free: 7.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3434, allocations: 95.25 kB / 0.5388 GB, free: 6.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.3437, allocations: 156.7 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3437, allocations: 0 / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004314/0.3441, allocations: 239.6 kB / 0.5392 GB, free: 6.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3442, allocations: 5.5 kB / 0.5392 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3442, allocations: 5.406 kB / 0.5392 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3442, allocations: 5.25 kB / 0.5392 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.3443, allocations: 38.48 kB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3444, allocations: 6.547 kB / 0.5393 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3445, allocations: 12.42 kB / 0.5393 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3445, allocations: 7.062 kB / 0.5393 GB, free: 6.734 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.0001785/0.3447, allocations: 169.1 kB / 0.5394 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.3447, allocations: 33.59 kB / 0.5395 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.19e-05/0.3448, allocations: 39.59 kB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3448, allocations: 6.625 kB / 0.5395 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3448, allocations: 5.156 kB / 0.5395 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3449, allocations: 5.172 kB / 0.5395 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009893/0.3458, allocations: 0.7316 MB / 0.5402 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3459, allocations: 1.094 kB / 0.5402 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.346, allocations: 35.58 kB / 0.5403 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.346, allocations: 2.219 kB / 0.5403 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.346, allocations: 8.531 kB / 0.5403 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.346, allocations: 3.125 kB / 0.5403 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.346, allocations: 5.297 kB / 0.5403 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.3466, allocations: 424.7 kB / 0.5407 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.01e-05/0.3467, allocations: 100.6 kB / 0.5408 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.3467, allocations: 8.844 kB / 0.5408 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3469, allocations: 11.48 kB / 0.5408 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.3469, allocations: 21.95 kB / 0.5408 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.347, allocations: 11.98 kB / 0.5408 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003781/0.3473, allocations: 334.2 kB / 0.5412 GB, free: 5.238 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3474, allocations: 1.219 kB / 0.5412 GB, free: 5.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.3477, allocations: 48.31 kB / 0.5412 GB, free: 5.227 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.002817/0.3505, allocations: 1.37 MB / 0.5425 GB, free: 4.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.3511, allocations: 162.4 kB / 0.5427 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3511, allocations: 0 / 0.5427 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.3513, allocations: 87.78 kB / 0.5428 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.3519, allocations: 63.84 kB / 0.5428 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.3561, allocations: 2.888 MB / 0.5457 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.3566, allocations: 0.7756 MB / 0.5464 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.3567, allocations: 45.84 kB / 0.5465 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3569, allocations: 95.41 kB / 0.5466 GB, free: 1.016 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3569, allocations: 0 / 0.5466 GB, free: 1.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.3887, allocations: 6.423 MB / 0.5528 GB, free: 10.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.511, allocations: 7.031 kB / 0.5528 GB, free: 10.7 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