Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002189/0.002189, allocations: 204.4 kB / 23.72 MB, free: 4.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2845/0.2845, allocations: 46.95 MB / 360.8 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 179] 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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00338/0.00338, allocations: 83.88 kB / 0.4962 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3395, allocations: 66.07 MB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003234/0.3427, allocations: 1.673 MB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3444, allocations: 0.9515 MB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.3445, allocations: 0 / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.3448, allocations: 59.73 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.3451, allocations: 95.59 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.3453, allocations: 75.73 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.3455, allocations: 107.6 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.3455, allocations: 4.234 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.3456, allocations: 43.8 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3457, allocations: 47.81 kB / 0.5637 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3457, allocations: 4 kB / 0.5637 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.3458, allocations: 31.94 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.3459, allocations: 19.92 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.3459, allocations: 31.78 kB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3462, allocations: 97.42 kB / 0.5639 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3462, allocations: 4 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3462, allocations: 0 / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3462, allocations: 0 / 0.5639 GB, free: 0.7422 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.0006141/0.3468, allocations: 337.6 kB / 0.5642 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3468, allocations: 16.03 kB / 0.5642 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.3469, allocations: 34.69 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.3469, allocations: 8.891 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3472, allocations: 151.6 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3472, allocations: 384 / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3472, allocations: 384 / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3474, allocations: 57.73 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3474, allocations: 0 / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3474, allocations: 0 / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3474, allocations: 0 / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.117e-05/0.3475, allocations: 23.98 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.3477, allocations: 148.7 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.3479, allocations: 62.53 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.037e-05/0.3479, allocations: 20.84 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.348, allocations: 4 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.3481, allocations: 63.33 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.3481, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002929/0.3484, allocations: 105.5 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3485, allocations: 55.41 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3487, allocations: 187.2 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3487, allocations: 25.7 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.3488, allocations: 100.1 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3488, allocations: 15.94 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.3488, allocations: 21.7 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.349, allocations: 322.8 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.349, allocations: 12 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.3491, allocations: 33.7 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.3492, allocations: 53.89 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3492, allocations: 4 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.3494, allocations: 85.52 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3494, allocations: 8 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3494, allocations: 0 / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3494, allocations: 0 / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.3495, allocations: 11.94 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3495, allocations: 0 / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.3495, allocations: 4 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3495, allocations: 7.984 kB / 0.5658 GB, free: 14.59 MB / 414.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 0.0001038/0.3496, allocations: 125.9 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3497, allocations: 11.89 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3499, allocations: 102.6 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3499, allocations: 0 / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3499, allocations: 0 / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3499, allocations: 3.938 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.35, allocations: 152.7 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.35, allocations: 3.938 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.3501, allocations: 11.92 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.3501, allocations: 4 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3501, allocations: 4 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3501, allocations: 0 / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3501, allocations: 0 / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.3503, allocations: 121.2 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.3503, allocations: 11.84 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3503, allocations: 4 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.3504, allocations: 3.984 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3504, allocations: 7.938 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3504, allocations: 0 / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3505, allocations: 144.9 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3505, allocations: 4 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000208/0.3507, allocations: 16 kB / 0.5665 GB, free: 13.79 MB / 414.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001995/0.3527, allocations: 0.9809 MB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.3529, allocations: 51.84 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3529, allocations: 0 / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.353, allocations: 19.98 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.3532, allocations: 27.34 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.355, allocations: 1.489 MB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8e-05/0.355, allocations: 89.25 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.3551, allocations: 16.47 kB / 0.5691 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.3551, allocations: 27.44 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3551, allocations: 0 / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.3867, allocations: 3.792 MB / 0.5728 GB, free: 7.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.56, allocations: 15.94 kB / 0.5729 GB, free: 7.336 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.649278528988361]