Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 118.1 kB / 17.79 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.001928/0.001928, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 79.86 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3372, allocations: 62.43 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002839/0.34, allocations: 1.695 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3416, allocations: 0.9931 MB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.3417, allocations: 5.062 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3421, allocations: 68.38 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.3424, allocations: 101.6 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.3425, allocations: 73.42 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3427, allocations: 104.4 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3428, allocations: 9.344 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.3429, allocations: 50.05 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.967e-05/0.343, allocations: 48.91 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.343, allocations: 3.219 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.3431, allocations: 32.72 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.3431, allocations: 23.36 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.3432, allocations: 31.09 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3434, allocations: 107.6 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3434, allocations: 1.438 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3434, allocations: 0 / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3434, allocations: 0 / 0.5338 GB, free: 10.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005459/0.344, allocations: 423.3 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.344, allocations: 9.625 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.3441, allocations: 32.12 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.3441, allocations: 12.97 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3444, allocations: 215.9 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3444, allocations: 5.734 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3444, allocations: 9.312 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3446, allocations: 47.3 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3446, allocations: 1.375 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3446, allocations: 0 / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3446, allocations: 5.375 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.3447, allocations: 14.86 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.3449, allocations: 183.4 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3451, allocations: 59.05 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.3451, allocations: 17.11 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3452, allocations: 9.359 kB / 0.5348 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.3454, allocations: 63.77 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.3454, allocations: 1.375 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002912/0.3457, allocations: 98.69 kB / 0.535 GB, free: 9.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3457, allocations: 52.78 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3459, allocations: 196.1 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.346, allocations: 27.08 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.346, allocations: 104.2 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.3461, allocations: 22.59 kB / 0.5354 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.3461, allocations: 19.22 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3462, allocations: 321.6 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.3463, allocations: 16.23 kB / 0.5357 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.3464, allocations: 27.33 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.647e-05/0.3465, allocations: 47.53 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3465, allocations: 3.938 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001594/0.3466, allocations: 83.83 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3467, allocations: 5.5 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3467, allocations: 0 / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3467, allocations: 5.312 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.3468, allocations: 12.19 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3468, allocations: 1.375 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.3468, allocations: 10.78 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3468, allocations: 5.359 kB / 0.5359 GB, free: 8.875 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 (7): * Single equations (assignments): 7 * 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.359e-05/0.3469, allocations: 125.4 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.347, allocations: 8.078 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.347, allocations: 18.48 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.347, allocations: 0 / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.347, allocations: 5.312 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.347, allocations: 0 / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.3472, allocations: 188.7 kB / 0.5362 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3472, allocations: 5.359 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.3472, allocations: 6.75 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3472, allocations: 0 / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3472, allocations: 1.375 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3472, allocations: 1.688 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3473, allocations: 0 / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3474, allocations: 117.8 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.3475, allocations: 83.31 kB / 0.5365 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3475, allocations: 1 kB / 0.5365 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.3476, allocations: 10.48 kB / 0.5365 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.3476, allocations: 5.359 kB / 0.5365 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3476, allocations: 6.562 kB / 0.5365 GB, free: 8.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3478, allocations: 144.5 kB / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3478, allocations: 0 / 0.5366 GB, free: 8.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000215/0.348, allocations: 20.53 kB / 0.5366 GB, free: 8.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001343/0.3494, allocations: 0.952 MB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.3495, allocations: 40.08 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3495, allocations: 0 / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.3496, allocations: 24.08 kB / 0.5376 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3499, allocations: 27.45 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.3515, allocations: 1.501 MB / 0.5391 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3518, allocations: 0.7004 MB / 0.5398 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.3519, allocations: 12.52 kB / 0.5398 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.352, allocations: 41.55 kB / 0.5399 GB, free: 5.316 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.352, allocations: 0 / 0.5399 GB, free: 5.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.3748, allocations: 3.145 MB / 0.5429 GB, free: 3.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.879, allocations: 10.33 kB / 0.5429 GB, free: 3.59 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches